summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_enumerate.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-06-25 23:24:35 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-06-25 23:24:35 (GMT)
commit4fd283a4fea33b652340fbbbbb850a2ac2dd128e (patch)
tree85bfb4eb1174478c612fe9d1355bfeca99bc55ef /Lib/test/test_enumerate.py
parentc7a7d406c8d3d159fdde7942eb8102c1b97c6291 (diff)
downloadcpython-4fd283a4fea33b652340fbbbbb850a2ac2dd128e.zip
cpython-4fd283a4fea33b652340fbbbbb850a2ac2dd128e.tar.gz
cpython-4fd283a4fea33b652340fbbbbb850a2ac2dd128e.tar.bz2
fix typos
Diffstat (limited to 'Lib/test/test_enumerate.py')
-rw-r--r--Lib/test/test_enumerate.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_enumerate.py b/Lib/test/test_enumerate.py
index fc9afb7..095820b 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