[Python-checkins] cpython: Monotonic, not monotonous

antoine.pitrou python-checkins at python.org
Sun Aug 14 01:53:55 CEST 2011


http://hg.python.org/cpython/rev/0273d0734593
changeset:   71862:0273d0734593
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Sun Aug 14 01:51:52 2011 +0200
summary:
  Monotonic, not monotonous

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


diff --git a/Lib/test/pickletester.py b/Lib/test/pickletester.py
--- a/Lib/test/pickletester.py
+++ b/Lib/test/pickletester.py
@@ -1122,7 +1122,7 @@
         # Test compacity of int representation (see issue #12744)
         for proto in protocols:
             sizes = [len(self.dumps(2**n, proto)) for n in range(70)]
-            # the size function is monotonous
+            # the size function is monotonic
             self.assertEqual(sorted(sizes), sizes)
             if proto >= 2:
                 self.assertLessEqual(sizes[-1], 14)

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


More information about the Python-checkins mailing list