Skip to content

Commit fd4adf9

Browse files
committed
Disable tests relying on GC/weakref
1 parent 5b69923 commit fd4adf9

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -864,6 +864,7 @@ def test_empty_presized_dict_in_freelist(self):
864864
'f': None, 'g': None, 'h': None}
865865
d = {}
866866

867+
@support.impl_detail("finalization", graalpy=False)
867868
def test_container_iterator(self):
868869
# Bug #3680: tp_traverse was not implemented for dictiter and
869870
# dictview objects.

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2355,6 +2355,7 @@ def _missing_(cls, item):
23552355
else:
23562356
raise Exception('Exception not raised.')
23572357

2358+
@support.impl_detail("finalization", graalpy=False)
23582359
def test_missing_exceptions_reset(self):
23592360
import gc
23602361
import weakref

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import weakref
99
import unittest
1010

11-
from test.support import import_helper
11+
from test.support import import_helper, impl_detail
1212

1313

1414
class B(bytes):
@@ -64,6 +64,7 @@ def test_release(self):
6464
# Idempotency
6565
pb.release()
6666

67+
@impl_detail("finalization", graalpy=False)
6768
def test_cycle(self):
6869
b = B(b"foo")
6970
pb = PickleBuffer(b)

0 commit comments

Comments
 (0)