diff options
Diffstat (limited to 'test/tools.py')
-rwxr-xr-x | test/tools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tools.py b/test/tools.py index 48ac93a..832624b 100755 --- a/test/tools.py +++ b/test/tools.py @@ -97,7 +97,7 @@ class ServerTestBase(unittest.TestCase): def urlopen(self, path, method='GET', post='', env=None): result = {'code':0, 'status':'error', 'header':{}, 'body':tob('')} - def start_response(status, header): + def start_response(status, header, exc_info=None): result['code'] = int(status.split()[0]) result['status'] = status.split(None, 1)[-1] for name, value in header: |