Skip to content

Commit 4fd283a

Browse files
committed
fix typos
1 parent c7a7d40 commit 4fd283a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/test/test_enumerate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def test_argumentcheck(self):
103103
self.assertRaises(TypeError, self.enum, 'abc', 'a') # wrong type
104104
self.assertRaises(TypeError, self.enum, 'abc', 2, 3) # too many arguments
105105

106-
@test_support.cpython_only
106+
@support.cpython_only
107107
def test_tuple_reuse(self):
108108
# Tests an implementation detail where tuple is reused
109109
# whenever nothing else holds a reference to it
@@ -146,7 +146,7 @@ def test_range_optimization(self):
146146
x = range(1)
147147
self.assertEqual(type(reversed(x)), type(iter(x)))
148148

149-
@test_support.cpython_only
149+
@support.cpython_only
150150
def test_len(self):
151151
# This is an implementation detail, not an interface requirement
152152
from test.test_iterlen import len

0 commit comments

Comments
 (0)