mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 02:16:19 +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():
|
def test_cpickle_image():
|
||||||
# Arrange
|
# Arrange
|
||||||
try:
|
try:
|
||||||
import cPickle
|
import ABCcPickle
|
||||||
except ImportError:
|
except ImportError:
|
||||||
skip()
|
return
|
||||||
|
|
||||||
# Act / Assert
|
# Act / Assert
|
||||||
for protocol in range(0, cPickle.HIGHEST_PROTOCOL + 1):
|
for protocol in range(0, cPickle.HIGHEST_PROTOCOL + 1):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user