diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-09-22 08:39:25 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-09-22 08:39:25 (GMT) |
commit | 92bb90a9ff87fefd57a6e3274b21cc1b9ca16f53 (patch) | |
tree | 0f897895dfad52ed23a689f810ae201c6a718319 /Lib | |
parent | 16ea19fc6653ee4ec1be7cd0206073962119ac08 (diff) | |
download | cpython-92bb90a9ff87fefd57a6e3274b21cc1b9ca16f53.zip cpython-92bb90a9ff87fefd57a6e3274b21cc1b9ca16f53.tar.gz cpython-92bb90a9ff87fefd57a6e3274b21cc1b9ca16f53.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 ab51a35..5076644 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) |