Issue #21346: Fix typo, make message consistent in test_itertools.
Pointed out by Brian Kearns.
This commit is contained in:
parent
404b5dac85
commit
dca807b8f5
|
@ -411,7 +411,7 @@ class TestBasicOps(unittest.TestCase):
|
|||
|
||||
self.pickletest(permutations(values, r)) # test pickling
|
||||
|
||||
@support.impl_detail("tuple resuse is CPython specific")
|
||||
@support.impl_detail("tuple reuse is specific to CPython")
|
||||
def test_permutations_tuple_reuse(self):
|
||||
self.assertEqual(len(set(map(id, permutations('abcde', 3)))), 1)
|
||||
self.assertNotEqual(len(set(map(id, list(permutations('abcde', 3))))), 1)
|
||||
|
|
Loading…
Reference in New Issue