itxt_chunks.png fails with protocol v2

This commit is contained in:
hugovk 2015-09-29 08:36:07 +03:00 committed by Andrew Murray
parent 1b338998dc
commit 9dbaf92f3e

View File

@ -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