mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +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():
|
||||
# Arrange
|
||||
import cPickle
|
||||
try:
|
||||
import cPickle
|
||||
except ImportError:
|
||||
skip()
|
||||
|
||||
# Act / Assert
|
||||
for protocol in range(0, cPickle.HIGHEST_PROTOCOL + 1):
|
||||
helper_test_pickle_string(cPickle, protocol)
|
||||
helper_test_pickle_file(cPickle, protocol)
|
||||
|
||||
|
||||
# End of file
|
||||
|
|
Loading…
Reference in New Issue
Block a user