Fixed the error reporting (raise of TestFailed) for the zip() and
zip(None) tests. Found by Finn Bock a while ago.
diff --git a/Lib/test/test_b2.py b/Lib/test/test_b2.py
index 84d3454..e7553ed 100644
--- a/Lib/test/test_b2.py
+++ b/Lib/test/test_b2.py
@@ -276,7 +276,7 @@
exc = 1
except:
e = sys.exc_info()[0]
- raise TestFailed, 'zip() - no args, expected TypeError, got', e
+ raise TestFailed, 'zip() - no args, expected TypeError, got %s' % e
if not exc:
raise TestFailed, 'zip() - no args, missing expected TypeError'
@@ -287,7 +287,7 @@
exc = 1
except:
e = sys.exc_info()[0]
- raise TestFailed, 'zip(None) - expected TypeError, got', e
+ raise TestFailed, 'zip(None) - expected TypeError, got %s' % e
if not exc:
raise TestFailed, 'zip(None) - missing expected TypeError'