(self)
| 4371 | self.assertEqual(ns, {}) |
| 4372 | |
| 4373 | def test_base(self): |
| 4374 | class Base1: |
| 4375 | pass |
| 4376 | class Base2: |
| 4377 | pass |
| 4378 | C = make_dataclass('C', |
| 4379 | [('x', int)], |
| 4380 | bases=(Base1, Base2)) |
| 4381 | c = C(2) |
| 4382 | self.assertIsInstance(c, C) |
| 4383 | self.assertIsInstance(c, Base1) |
| 4384 | self.assertIsInstance(c, Base2) |
| 4385 | |
| 4386 | def test_base_dataclass(self): |
| 4387 | @dataclass |
nothing calls this directly
no test coverage detected