Fixed broken test_pickle.test_complete test
#6840
Merged
test_pickle.test_complete test
#6840