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 1616_graalpy_version = (
1717 sys .modules ["__graalpython__" ].get_graalvm_version () if GRAALPY else "0.0.0"
1818)
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 ])
2020PY_GIL_DISABLED = bool (sysconfig .get_config_var ("Py_GIL_DISABLED" ))
2121
2222
Original file line number Diff line number Diff line change @@ -223,7 +223,6 @@ def test_custom_func():
223223 assert m .roundtrip (m .custom_function )(4 ) == 36
224224
225225
226- @pytest .mark .skipif ("env.GRAALPY" , reason = "TODO debug segfault" )
227226def test_custom_func2 ():
228227 assert m .custom_function2 (3 ) == 27
229228 assert m .roundtrip (m .custom_function2 )(3 ) == 27
You can’t perform that action at this time.
0 commit comments