We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b7e894 commit 2ea3e69Copy full SHA for 2ea3e69
graalpython/lib-python/3/test/support/__init__.py
@@ -466,6 +466,7 @@ def requires_lzma(reason='requires lzma'):
466
'requires legacy Unicode C API')
467
468
is_jython = sys.platform.startswith('java')
469
+is_graalpy = sys.implementation.name == "graalpy"
470
471
is_android = hasattr(sys, 'getandroidapilevel')
472
@@ -661,9 +662,11 @@ def gc_collect():
661
662
"""
663
import gc
664
gc.collect()
- if is_jython:
665
+ if is_jython or is_graalpy:
666
time.sleep(0.1)
667
668
+ if is_graalpy:
669
+ time.sleep(0.1)
670
671
672
@contextlib.contextmanager
0 commit comments