From 1a0cea8a4d7c400e5fd1f922427e6edc4836a0d2 Mon Sep 17 00:00:00 2001 From: Marcus Huewe Date: Tue, 30 Nov 2010 19:11:05 +0100 Subject: [PATCH] - fixed testsuite --- tests/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/common.py b/tests/common.py index 126ea314..0da14a22 100644 --- a/tests/common.py +++ b/tests/common.py @@ -72,7 +72,7 @@ class MyHTTPHandler(urllib2.HTTPHandler): f = StringIO.StringIO(kwargs['text']) else: raise RuntimeError('either specify text or file') - resp = urllib2.addinfourl(f, '', url) + resp = urllib2.addinfourl(f, {}, url) resp.code = 200 resp.msg = '' return resp