From 9dbaf92f3e2673fb9ad30643d7e0acb383ec67ca Mon Sep 17 00:00:00 2001 From: hugovk Date: Tue, 29 Sep 2015 08:36:07 +0300 Subject: [PATCH] itxt_chunks.png fails with protocol v2 --- Tests/test_pickle.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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