mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 18:56:17 +03:00
P3 will skip explicit cPickle tests
This commit is contained in:
parent
a3edb45f08
commit
e4185694a2
|
@ -52,12 +52,14 @@ def test_pickle_image():
|
||||||
|
|
||||||
def test_cpickle_image():
|
def test_cpickle_image():
|
||||||
# Arrange
|
# Arrange
|
||||||
import cPickle
|
try:
|
||||||
|
import cPickle
|
||||||
|
except ImportError:
|
||||||
|
skip()
|
||||||
|
|
||||||
# Act / Assert
|
# Act / Assert
|
||||||
for protocol in range(0, cPickle.HIGHEST_PROTOCOL + 1):
|
for protocol in range(0, cPickle.HIGHEST_PROTOCOL + 1):
|
||||||
helper_test_pickle_string(cPickle, protocol)
|
helper_test_pickle_string(cPickle, protocol)
|
||||||
helper_test_pickle_file(cPickle, protocol)
|
helper_test_pickle_file(cPickle, protocol)
|
||||||
|
|
||||||
|
|
||||||
# End of file
|
# End of file
|
||||||
|
|
Loading…
Reference in New Issue
Block a user