(self)
| 87 | self.assertIn(",type=...,", repr_output) |
| 88 | |
| 89 | def test_recursive_annotation(self): |
| 90 | class C: |
| 91 | pass |
| 92 | |
| 93 | @dataclass |
| 94 | class D: |
| 95 | C: C = field() |
| 96 | |
| 97 | self.assertIn(",type=...,", repr(D.__dataclass_fields__["C"])) |
| 98 | |
| 99 | def test_dataclass_params_repr(self): |
| 100 | # Even though this is testing an internal implementation detail, |