[Python-checkins] r82231 - python/branches/py3k/Lib/test/test_enumerate.py

benjamin.peterson python-checkins at python.org
Sat Jun 26 01:24:35 CEST 2010


Author: benjamin.peterson
Date: Sat Jun 26 01:24:35 2010
New Revision: 82231

Log:
fix typos

Modified:
   python/branches/py3k/Lib/test/test_enumerate.py

Modified: python/branches/py3k/Lib/test/test_enumerate.py
==============================================================================
--- python/branches/py3k/Lib/test/test_enumerate.py	(original)
+++ python/branches/py3k/Lib/test/test_enumerate.py	Sat Jun 26 01:24:35 2010
@@ -103,7 +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
+    @support.cpython_only
     def test_tuple_reuse(self):
         # Tests an implementation detail where tuple is reused
         # whenever nothing else holds a reference to it
@@ -146,7 +146,7 @@
         x = range(1)
         self.assertEqual(type(reversed(x)), type(iter(x)))
 
-    @test_support.cpython_only
+    @support.cpython_only
     def test_len(self):
         # This is an implementation detail, not an interface requirement
         from test.test_iterlen import len


More information about the Python-checkins mailing list