P3 will skip explicit cPickle tests

This commit is contained in:
hugovk 2014-04-22 09:30:15 +03:00
parent a3edb45f08
commit e4185694a2

View File

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