| 1 |
# mypy: allow-untyped-defs |
| 2 |
from __future__ import annotations |
| 3 |
|
| 4 |
import pytest |
| 5 |
|
| 6 |
|
| 7 |
@pytest.fixture |
| 8 |
def some(request): |
| 9 |
return request.function.__name__ |
| 10 |
|
| 11 |
|
| 12 |
@pytest.fixture |
| 13 |
def other(request): |
| 14 |
return 42 |
| 15 |
|
| 16 |
|
| 17 |
def test_func(some, other): |
| 18 |
pass |