[Python-checkins] cpython (merge 3.6 -> default): 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/ae6813d21859
changeset: 104003:ae6813d21859
parent: 104000:e5888f5b9cf8
parent: 104002:b3114b382e87
user: Serhiy Storchaka <storchaka at gmail.com>
date: Thu Sep 22 11:43:46 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