Issue #21346: Fix typo, make message consistent in test_itertools.

Pointed out by Brian Kearns.
This commit is contained in:
Zachary Ware 2014-04-24 13:22:05 -05:00
parent 404b5dac85
commit dca807b8f5
1 changed files with 1 additions and 1 deletions

View File

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