diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-09-22 08:42:38 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-09-22 08:42:38 (GMT) |
commit | e3d504090cea1c4e01e9d8ebf241f9356cb1aba0 (patch) | |
tree | bf8ac57cf7e8aba26fe074bc0268bc55832d5f94 /Lib | |
parent | b3d4e7fe718f82e82861ab8fbb80c60177699a8b (diff) | |
parent | 92bb90a9ff87fefd57a6e3274b21cc1b9ca16f53 (diff) | |
download | cpython-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.py | 2 |
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) |