(self)
| 696 | assert x.__rich_repr__() == [] |
| 697 | |
| 698 | def test_repr_empty(self): |
| 699 | class Test(Struct): |
| 700 | pass |
| 701 | |
| 702 | x = Test() |
| 703 | assert repr(x) == "Test()" |
| 704 | assert x.__rich_repr__() == [] |
| 705 | |
| 706 | def test_repr_one_field(self): |
| 707 | class Test(Struct): |