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 dfdbc41 commit 44cbe05Copy full SHA for 44cbe05
ci/tools/run-tests
@@ -25,8 +25,10 @@ PYTEST_ARGS=()
25
FREE_THREADING=""
26
if python -c 'import sys; assert not sys._is_gil_enabled()' 2> /dev/null; then
27
FREE_THREADING+="-ft"
28
- PYTEST_ARGS+=("--require-gil-disabled" "--threads" "${FREE_THREADING_TEST_THREADS}" "--iterations" "${FREE_THREADING_TEST_ITERATIONS}")
29
- PYTHON_GIL=0
+ PYTEST_ARGS+=("--threads" "${FREE_THREADING_TEST_THREADS}" "--iterations" "${FREE_THREADING_TEST_ITERATIONS}")
+ # ideally we could set this to zero, but many things in the test suite are
30
+ # not built to work without the GIL
31
+ PYTHON_GIL=1
32
else
33
PYTEST_ARGS+=("-p" "no:freethreaded")
34
PYTHON_GIL=1
0 commit comments