-if ["%~1"]==[""] (
- set "test_set="test""
-) else if ["%~1"]==["core"] (
- set "test_set="-m not download""
-) else if ["%~1"]==["download"] (
- set "test_set="-m "download""
-) else (
- echo.Invalid test type "%~1". Use "core" ^| "download"
- exit /b 1
-)
-
-pytest %test_set%
+>&2 echo run_tests.bat is deprecated. Please use `devscripts/run_tests.py` instead
+python %~dp0run_tests.py %~1