Skip to content

Commit 442260f

Browse files
jswhit2jswhit2
authored andcommitted
turn off GIL for pytest
1 parent 92bcf3e commit 442260f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ test-sources = [
118118
]
119119
test-command = [
120120
'''PYTHON_GIL=0 python -c "import netCDF4; print(f'netCDF4 v{netCDF4.__version__}')"''',
121-
"pytest -Xgil=0 -s -rxs -v test",
121+
"python -X gil=0 -m pytest -s -rxs -v test",
122122
]
123123
manylinux-x86_64-image = "ghcr.io/ocefpaf/manylinux_2_28_x86_64-netcdf"
124124
manylinux-aarch64-image = "ghcr.io/ocefpaf/manylinux_2_28_aarch64-netcdf"

0 commit comments

Comments
 (0)