Skip to content

Commit b34fef4

Browse files
committed
graalpy: ignore gc dependent test
1 parent abd5de3 commit b34fef4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pytests/tests/test_objstore.py

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ def test_objstore_doesnot_leak_memory():
1414
# check refcount on PyPy
1515
getrefcount = getattr(sys, "getrefcount", lambda obj: 0)
1616

17+
# GraalPy has an incomplete sys.getrefcount implementation
18+
if sys.implementation.name == "graalpy":
19+
getrefcount = lambda obj: 0
20+
1721
before = getrefcount(message)
1822
store = ObjStore()
1923
for _ in range(N):

0 commit comments

Comments
 (0)