[Python-checkins] r82225 - python/trunk/Lib/test/test_enumerate.py
benjamin.peterson
python-checkins at python.org
Fri Jun 25 22:34:01 CEST 2010
Author: benjamin.peterson
Date: Fri Jun 25 22:34:01 2010
New Revision: 82225
Log:
mark implementation detail as such
Modified:
python/trunk/Lib/test/test_enumerate.py
Modified: python/trunk/Lib/test/test_enumerate.py
==============================================================================
--- python/trunk/Lib/test/test_enumerate.py (original)
+++ python/trunk/Lib/test/test_enumerate.py Fri Jun 25 22:34:01 2010
@@ -103,6 +103,7 @@
self.assertRaises(TypeError, self.enum, 'abc', 'a') # wrong type
self.assertRaises(TypeError, self.enum, 'abc', 2, 3) # too many arguments
+ @test_support.cpython_only
def test_tuple_reuse(self):
# Tests an implementation detail where tuple is reused
# whenever nothing else holds a reference to it
More information about the Python-checkins
mailing list