Skip to content

Commit 02c35be

Browse files
committed
pickling native objects is not supported yet
1 parent 5f6bc96 commit 02c35be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

graalpython/lib-python/3/test/test_zlib.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,11 +703,13 @@ def test_baddecompresscopy(self):
703703
self.assertRaises(ValueError, copy.copy, d)
704704
self.assertRaises(ValueError, copy.deepcopy, d)
705705

706+
@support.impl_detail("GR-27707: basicsize for native objects not yet supported", graalvm=False)
706707
def test_compresspickle(self):
707708
for proto in range(pickle.HIGHEST_PROTOCOL + 1):
708709
with self.assertRaises((TypeError, pickle.PicklingError)):
709710
pickle.dumps(zlib.compressobj(zlib.Z_BEST_COMPRESSION), proto)
710711

712+
@support.impl_detail("GR-27707: basicsize for native objects not yet supported", graalvm=False)
711713
def test_decompresspickle(self):
712714
for proto in range(pickle.HIGHEST_PROTOCOL + 1):
713715
with self.assertRaises((TypeError, pickle.PicklingError)):

0 commit comments

Comments
 (0)