/
niceSOFT
/
python3-pytest
Обзор
Документация
Войти
/
niceSOFT
/
python3-pytest
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
testing/example_scripts/tmpdir/tmp_path_fixture.py
10 строк
226 B
Ronny Pfannschmidt
RFC: from __future__ import annotations + migrate
20 июн 2024, 12:03
20 июн 2024, 12:03
9295f9f
Код
Авторство
О чём код?
# mypy: allow-untyped-defs from __future__ import annotations import pytest @pytest.mark.parametrize("a", [r"qwe/\abc"]) def test_fixture(tmp_path, a): assert tmp_path.is_dir() assert list(tmp_path.iterdir()) == []