/
niceSOFT
/
python3-pytest
Обзор
Документация
Войти
/
niceSOFT
/
python3-pytest
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
testing/freeze/tox_run.py
17 строк
424 B
Pierre Sassoulas
fix: satisfy mypy 2.3.0 [deprecated] and [unreachable] checks
21 июл 2026, 10:35
21 июл 2026, 10:35
bd2e53e
Код
Авторство
О чём код?
""" Called by tox.ini: uses the generated executable to run the tests in ./tests/ directory. """ from __future__ import annotations if __name__ == "__main__": import os import subprocess import sys executable = os.path.join(os.getcwd(), "dist", "runtests_script", "runtests_script") if sys.platform.startswith("win"): executable += ".exe" sys.exit(subprocess.call([executable, "tests"]))