(self)
| 803 | self.assertEqual(formatted, "MyDataclass()") |
| 804 | |
| 805 | def test_small_dataclass(self): |
| 806 | dc = dataclass1("text", 123) |
| 807 | formatted = pprint.pformat(dc) |
| 808 | self.assertEqual(formatted, "dataclass1(field1='text', field2=123, field3=False)") |
| 809 | |
| 810 | def test_larger_dataclass(self): |
| 811 | dc = dataclass1("some fairly long text", int(1e10), True) |
nothing calls this directly
no test coverage detected