File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 16
16
_graalpy_version = (
17
17
sys .modules ["__graalpython__" ].get_graalvm_version () if GRAALPY else "0.0.0"
18
18
)
19
- GRAALPY_VERSION = tuple (int (t ) for t in _graalpy_version .split ("." )[:3 ])
19
+ GRAALPY_VERSION = tuple (int (t ) for t in _graalpy_version .split ("-" )[ 0 ]. split ( " ." )[:3 ])
20
20
PY_GIL_DISABLED = bool (sysconfig .get_config_var ("Py_GIL_DISABLED" ))
21
21
22
22
Original file line number Diff line number Diff line change @@ -223,7 +223,6 @@ def test_custom_func():
223
223
assert m .roundtrip (m .custom_function )(4 ) == 36
224
224
225
225
226
- @pytest .mark .skipif ("env.GRAALPY" , reason = "TODO debug segfault" )
227
226
def test_custom_func2 ():
228
227
assert m .custom_function2 (3 ) == 27
229
228
assert m .roundtrip (m .custom_function2 )(3 ) == 27
You can’t perform that action at this time.
0 commit comments