Skip to content

Commit 8d76c22

Browse files
try to use 'python -m pytest args' rather than 'pytest args'
1 parent a737860 commit 8d76c22

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

conda-recipe/run_test.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ set ERRORLEVEL=
1111
"%PYTHON%" -c "import dpctl"
1212
if errorlevel 1 exit 1
1313

14-
pytest -q -ra --disable-warnings --pyargs dpctl -vv
14+
python -m pytest -q -ra --disable-warnings --pyargs dpctl -vv
1515
if errorlevel 1 exit 1

conda-recipe/run_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ set -e
66
source ${ONEAPI_ROOT}/compiler/latest/env/vars.sh || true
77

88
${PYTHON} -c "import dpctl"
9-
pytest -q -ra --disable-warnings --cov dpctl --cov-report term-missing --pyargs dpctl -vv
9+
python -m pytest -q -ra --disable-warnings --cov dpctl --cov-report term-missing --pyargs dpctl -vv

0 commit comments

Comments
 (0)