From 92bb90a9ff87fefd57a6e3274b21cc1b9ca16f53 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Thu, 22 Sep 2016 11:39:25 +0300 Subject: [PATCH] Extend the test to lower pickle protocols. --- Lib/test/test_functools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_functools.py b/Lib/test/test_functools.py index ab51a3534d5..50766449524 100644 --- a/Lib/test/test_functools.py +++ b/Lib/test/test_functools.py @@ -1054,7 +1054,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)