[Python-checkins] cpython (3.5): 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/e81078ee1a7c
changeset: 104001:e81078ee1a7c
branch: 3.5
parent: 103998:ba743894e793
user: Serhiy Storchaka <storchaka at gmail.com>
date: Thu Sep 22 11:39:25 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
@@ -1054,7 +1054,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