summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-09-22 11:43:46 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2016-09-22 11:43:46 +0300
commitb0ba1974a49fb62e70f6d028421edc59a46bae23 (patch)
tree4d3308ae584764527a9687137641aab468e468d0
parentc96629953bfe79307380dfadc012bcdf1ac44810 (diff)
parente3d504090cea1c4e01e9d8ebf241f9356cb1aba0 (diff)
downloadcpython-git-b0ba1974a49fb62e70f6d028421edc59a46bae23.tar.gz
Extend the test to lower pickle protocols.
-rw-r--r--Lib/test/test_functools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_functools.py b/Lib/test/test_functools.py
index fa66510bf1..9ea6747188 100644
--- a/Lib/test/test_functools.py
+++ b/Lib/test/test_functools.py
@@ -1081,7 +1081,7 @@ class TestTotalOrdering(unittest.TestCase):
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)