[Python-3000-checkins] r45429 - python/branches/p3yk/Lib/test/test_enumerate.py
thomas.wouters
python-3000-checkins at python.org
Sat Apr 15 11:16:17 CEST 2006
Author: thomas.wouters
Date: Sat Apr 15 11:16:16 2006
New Revision: 45429
Modified:
python/branches/p3yk/Lib/test/test_enumerate.py
Log:
Adjust test_enumerate to accomodate for iter() blowing up sooner than
expected, when dealing with new-style broken-iterators.
Modified: python/branches/p3yk/Lib/test/test_enumerate.py
==============================================================================
--- python/branches/p3yk/Lib/test/test_enumerate.py (original)
+++ python/branches/p3yk/Lib/test/test_enumerate.py Sat Apr 15 11:16:16 2006
@@ -92,7 +92,7 @@
self.assertRaises(TypeError, self.enum, X(self.seq))
def test_illformediterable(self):
- self.assertRaises(TypeError, list, self.enum(N(self.seq)))
+ self.assertRaises(TypeError, self.enum, N(self.seq))
def test_exception_propagation(self):
self.assertRaises(ZeroDivisionError, list, self.enum(E(self.seq)))
More information about the Python-3000-checkins
mailing list