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)))
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins