Skip to content

Commit

Permalink
graalpy: ignore gc dependent test
Browse files Browse the repository at this point in the history
  • Loading branch information
timfel committed Sep 15, 2023
1 parent abd5de3 commit b34fef4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pytests/tests/test_objstore.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ def test_objstore_doesnot_leak_memory():
# check refcount on PyPy
getrefcount = getattr(sys, "getrefcount", lambda obj: 0)

# GraalPy has an incomplete sys.getrefcount implementation
if sys.implementation.name == "graalpy":
getrefcount = lambda obj: 0

before = getrefcount(message)
store = ObjStore()
for _ in range(N):
Expand Down

0 comments on commit b34fef4

Please sign in to comment.