Commit e3d50409 authored by Serhiy Storchaka's avatar Serhiy Storchaka

Extend the test to lower pickle protocols.

parents b3d4e7fe 92bb90a9
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment