fix typos

This commit is contained in:
Benjamin Peterson 2010-06-25 23:24:35 +00:00
parent c7a7d406c8
commit 4fd283a4fe
1 changed files with 2 additions and 2 deletions

View File

@ -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