[Python-checkins] cpython (3.4): Issue #21346: Fix typo, make message consistent in test_itertools.

zach.ware python-checkins at python.org
Thu Apr 24 20:23:26 CEST 2014


http://hg.python.org/cpython/rev/901b9afc918e
changeset:   90451:901b9afc918e
branch:      3.4
parent:      90445:9c5c9d4ed9ba
user:        Zachary Ware <zachary.ware at gmail.com>
date:        Thu Apr 24 13:22:05 2014 -0500
summary:
  Issue #21346: Fix typo, make message consistent in test_itertools.

Pointed out by Brian Kearns.

files:
  Lib/test/test_itertools.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_itertools.py b/Lib/test/test_itertools.py
--- a/Lib/test/test_itertools.py
+++ b/Lib/test/test_itertools.py
@@ -411,7 +411,7 @@
 
                 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)

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list