Skip to content

Commit 5cf929c

Browse files
committed
test_module.py: skip test_clear_dict_in_ref_cycle (ref counting not supported yet), test_module_finalization_at_shutdown (__del__ not yet supported)
1 parent 0044d53 commit 5cf929c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Test the module type
22
import unittest
33
import weakref
4-
from test.support import gc_collect, requires_type_collecting
4+
from test.support import gc_collect, requires_type_collecting, impl_detail
55
from test.support.script_helper import assert_python_ok
66

77
import sys
@@ -101,6 +101,7 @@ def f():
101101
gc_collect()
102102
self.assertEqual(f().__dict__["bar"], 4)
103103

104+
@impl_detail("refcounting", graalvm=False)
104105
@requires_type_collecting
105106
def test_clear_dict_in_ref_cycle(self):
106107
destroyed = []
@@ -266,6 +267,7 @@ def test_module_repr_source(self):
266267
self.assertEqual(r[-len(ends_with):], ends_with,
267268
'{!r} does not end with {!r}'.format(r, ends_with))
268269

270+
@impl_detail("refcounting", graalvm=False)
269271
@requires_type_collecting
270272
def test_module_finalization_at_shutdown(self):
271273
# Module globals and builtins should still be available during shutdown

0 commit comments

Comments
 (0)