diff options
Diffstat (limited to 'test.py')
-rwxr-xr-x | test.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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): |