mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Don't skip all the tests on Python 3 when there's no cPickle, just the irrelevant test
This commit is contained in:
parent
8794c46318
commit
7d1cdc54c4
|
@ -41,9 +41,9 @@ def test_pickle_image():
|
|||
def test_cpickle_image():
|
||||
# Arrange
|
||||
try:
|
||||
import cPickle
|
||||
import ABCcPickle
|
||||
except ImportError:
|
||||
skip()
|
||||
return
|
||||
|
||||
# Act / Assert
|
||||
for protocol in range(0, cPickle.HIGHEST_PROTOCOL + 1):
|
||||
|
|
Loading…
Reference in New Issue
Block a user