From: Serhiy Storchaka Date: Thu, 22 Sep 2016 08:39:25 +0000 (+0300) Subject: Extend the test to lower pickle protocols. X-Git-Tag: v3.6.0b2~143^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=92bb90a9ff87fefd57a6e3274b21cc1b9ca16f53;p=thirdparty%2FPython%2Fcpython.git Extend the test to lower pickle protocols. --- diff --git a/Lib/test/test_functools.py b/Lib/test/test_functools.py index ab51a3534d53..50766449524e 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)