We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abd5de3 commit b34fef4Copy full SHA for b34fef4
pytests/tests/test_objstore.py
@@ -14,6 +14,10 @@ def test_objstore_doesnot_leak_memory():
14
# check refcount on PyPy
15
getrefcount = getattr(sys, "getrefcount", lambda obj: 0)
16
17
+ # GraalPy has an incomplete sys.getrefcount implementation
18
+ if sys.implementation.name == "graalpy":
19
+ getrefcount = lambda obj: 0
20
+
21
before = getrefcount(message)
22
store = ObjStore()
23
for _ in range(N):
0 commit comments