We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a28ea8c commit 708ce4dCopy full SHA for 708ce4d
tests/env.py
@@ -16,7 +16,7 @@
16
_graalpy_version = (
17
sys.modules["__graalpython__"].get_graalvm_version() if GRAALPY else "0.0.0"
18
)
19
-GRAALPY_VERSION = tuple(int(t) for t in _graalpy_version.split(".")[:3])
+GRAALPY_VERSION = tuple(int(t) for t in _graalpy_version.split("-")[0].split(".")[:3])
20
PY_GIL_DISABLED = bool(sysconfig.get_config_var("Py_GIL_DISABLED"))
21
22
tests/test_callbacks.py
@@ -223,7 +223,6 @@ def test_custom_func():
223
assert m.roundtrip(m.custom_function)(4) == 36
224
225
226
-@pytest.mark.skipif("env.GRAALPY", reason="TODO debug segfault")
227
def test_custom_func2():
228
assert m.custom_function2(3) == 27
229
assert m.roundtrip(m.custom_function2)(3) == 27
0 commit comments