/
niceSOFT
/
python3-pytest
Обзор
Документация
Войти
/
niceSOFT
/
python3-pytest
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/_pytest/config/exceptions.py
15 строк
315 B
Ran Benita
config: set `__module__ = "pytest"` on `UsageError` and `ExitCode`
12 окт 2025, 16:33
12 окт 2025, 16:33
44e9309
Код
Авторство
О чём код?
from __future__ import annotations from typing import final @final class UsageError(Exception): """Error in pytest usage or invocation.""" __module__ = "pytest" class PrintHelp(Exception): """Raised when pytest should print its help to skip the rest of the argument parsing and validation."""