From: Benjamin Peterson Date: Fri, 25 Jun 2010 23:24:35 +0000 (+0000) Subject: fix typos X-Git-Tag: v3.2a1~455 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4fd283a4fea33b652340fbbbbb850a2ac2dd128e;p=python fix typos --- diff --git a/Lib/test/test_enumerate.py b/Lib/test/test_enumerate.py index fc9afb7089..095820b45f 100644 --- a/Lib/test/test_enumerate.py +++ b/Lib/test/test_enumerate.py @@ -103,7 +103,7 @@ class EnumerateTestCase(unittest.TestCase): 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 @@ class TestReversed(unittest.TestCase): 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