Skip to content

Commit 175412a

Browse files
committed
scripts/run-tests: remove python2 relics
1 parent c7f8305 commit 175412a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

scripts/run-tests.bat

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,12 @@
99
set VENV_PYTHON=%cd%\venv\Scripts\
1010

1111
set COVERAGE_FILE=.coverage.windows.%VERSION%.%FRAMEWORK%.%ASYNCIO%
12-
set IGNORE_PYTHON3_WITH_PYTHON2=
13-
if "%VERSION%" == "2.7" set IGNORE_PYTHON3_WITH_PYTHON2=--ignore-glob="*\py3_*.py"
1412

1513
set PYTEST_JUNIT="--junitxml=.\tests\windows-%VERSION%-%FRAMEWORK%-%ASYNCIO%-python-agent-junit.xml"
1614
if "%ASYNCIO%" == "true" (
17-
%VENV_PYTHON%\python.exe -m pytest %PYTEST_JUNIT% %IGNORE_PYTHON3_WITH_PYTHON2% --cov --cov-context=test --cov-branch --cov-config=setup.cfg -m "not integrationtest" || exit /b 1
15+
%VENV_PYTHON%\python.exe -m pytest %PYTEST_JUNIT% --cov --cov-context=test --cov-branch --cov-config=setup.cfg -m "not integrationtest" || exit /b 1
1816
)
1917
if "%ASYNCIO%" == "false" (
20-
%VENV_PYTHON%\python.exe -m pytest %PYTEST_JUNIT% --ignore-glob="*\asyncio*\*" %IGNORE_PYTHON3_WITH_PYTHON2% --cov --cov-context=test --cov-branch --cov-config=setup.cfg -m "not integrationtest" || exit /b 1
18+
%VENV_PYTHON%\python.exe -m pytest %PYTEST_JUNIT% --ignore-glob="*\asyncio*\*" --cov --cov-context=test --cov-branch --cov-config=setup.cfg -m "not integrationtest" || exit /b 1
2119
)
2220
call %VENV_PYTHON%\python.exe setup.py bdist_wheel

0 commit comments

Comments
 (0)