/
niceSOFT
/
python3-pytest
Обзор
Документация
Войти
/
niceSOFT
/
python3-pytest
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
testing/example_scripts/unittest/test_parametrized_fixture_error_message.py
17 строк
285 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 unittest import pytest @pytest.fixture(params=[1, 2]) def two(request): return request.param @pytest.mark.usefixtures("two") class TestSomethingElse(unittest.TestCase): def test_two(self): pass