summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'test.py')
-rwxr-xr-xtest.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test.py b/test.py
index 2d1d29d..6aef5bf 100755
--- a/test.py
+++ b/test.py
@@ -11,7 +11,7 @@ import sys
from wsgitools.internal import bytes2str, str2bytes
-class Request:
+class Request(object):
def __init__(self, case):
"""
@type case: unittest.TestCase
@@ -77,7 +77,7 @@ class Request:
iterator.close()
return res
-class Result:
+class Result(object):
def __init__(self, case):
"""
@type case: unittest.TestCase
@@ -259,7 +259,7 @@ class NoWriteCallableMiddlewareTest(unittest.TestCase):
self.assertEqual(res.writtendata, [])
self.assertEqual(b"".join(res.returneddata), b"firstsecond")
-class StupidIO:
+class StupidIO(object):
"""file-like without tell method, so StaticFile is not able to
determine the content-length."""
def __init__(self, content):