summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-09-22 08:42:38 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-09-22 08:42:38 (GMT)
commite3d504090cea1c4e01e9d8ebf241f9356cb1aba0 (patch)
treebf8ac57cf7e8aba26fe074bc0268bc55832d5f94 /Lib
parentb3d4e7fe718f82e82861ab8fbb80c60177699a8b (diff)
parent92bb90a9ff87fefd57a6e3274b21cc1b9ca16f53 (diff)
downloadcpython-e3d504090cea1c4e01e9d8ebf241f9356cb1aba0.zip
cpython-e3d504090cea1c4e01e9d8ebf241f9356cb1aba0.tar.gz
cpython-e3d504090cea1c4e01e9d8ebf241f9356cb1aba0.tar.bz2
Extend the test to lower pickle protocols.
Diffstat (limited to 'Lib')
-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 fa66510..9ea6747 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)