(self)
| 79 | self.assertEqual(repr_output, expected_output) |
| 80 | |
| 81 | def test_field_recursive_repr(self): |
| 82 | rec_field = field() |
| 83 | rec_field.type = rec_field |
| 84 | rec_field.name = "id" |
| 85 | repr_output = repr(rec_field) |
| 86 | |
| 87 | self.assertIn(",type=...,", repr_output) |
| 88 | |
| 89 | def test_recursive_annotation(self): |
| 90 | class C: |