[Python-checkins] cpython (merge 3.5 -> 3.6): Extend the test to lower pickle protocols.

serhiy.storchaka python-checkins at python.org
Thu Sep 22 04:44:11 EDT 2016


https://hg.python.org/cpython/rev/b3114b382e87
changeset: 104002:b3114b382e87
branch: 3.6
parent: 103999:ddbf92168a44
parent: 104001:e81078ee1a7c
user: Serhiy Storchaka <storchaka at gmail.com>
date: Thu Sep 22 11:42:38 2016 +0300
summary:
 Extend the test to lower pickle protocols.
files:
 Lib/test/test_functools.py | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_functools.py b/Lib/test/test_functools.py
--- a/Lib/test/test_functools.py
+++ b/Lib/test/test_functools.py
@@ -1081,7 +1081,7 @@
 a <= b
 
 def test_pickle(self):
- for proto in range(4, pickle.HIGHEST_PROTOCOL + 1):
+ for proto in range(pickle.HIGHEST_PROTOCOL + 1):
 for name in '__lt__', '__gt__', '__le__', '__ge__':
 with self.subTest(method=name, proto=proto):
 method = getattr(Orderable_LT, name)
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /