| 1 |
# mypy: allow-untyped-defs |
| 2 |
from __future__ import annotations |
| 3 |
|
| 4 |
import pytest |
| 5 |
|
| 6 |
|
| 7 |
class TestClass: |
| 8 |
@pytest.fixture |
| 9 |
def something(self, request): |
| 10 |
return request.instance |
| 11 |
|
| 12 |
def test_method(self, something): |
| 13 |
assert something is self |