/
niceSOFT
/
python3-pytest
Обзор
Документация
Войти
/
niceSOFT
/
python3-pytest
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2.2
testing/test_entry_points.py
8 строк
279 B
Bruno Oliveira
mypy: disallow untyped defs by default (#11862)
28 янв 2024, 16:12
Не верифицирован
28 янв 2024, 16:12
878af85
Код
Авторство
О чём код?
# mypy: allow-untyped-defs import importlib.metadata def test_pytest_entry_points_are_identical(): dist = importlib.metadata.distribution("pytest") entry_map = {ep.name: ep for ep in dist.entry_points} assert entry_map["pytest"].value == entry_map["py.test"].value