diff --git a/Tests/test_pickle.py b/Tests/test_pickle.py index f24cff612..b6f5a5ae9 100644 --- a/Tests/test_pickle.py +++ b/Tests/test_pickle.py @@ -70,7 +70,10 @@ class TestPickle(PillowTestCase): "Tests/images/pil123p.png", "Tests/images/itxt_chunks.png" ]: - self.helper_pickle_string(pickle, test_file=test_file) + for protocol in range(0, pickle.HIGHEST_PROTOCOL + 1): + self.helper_pickle_string(pickle, + protocol=protocol, + test_file=test_file) def test_pickle_l_mode(self): # Arrange