(self)
| 5463 | self.assertEqual(type(C.__dict__), type(B.__dict__)) |
| 5464 | |
| 5465 | def test_repr(self): |
| 5466 | # Testing mappingproxy.__repr__. |
| 5467 | # We can't blindly compare with the repr of another dict as ordering |
| 5468 | # of keys and values is arbitrary and may differ. |
| 5469 | r = repr(self.C.__dict__) |
| 5470 | self.assertStartsWith(r, 'mappingproxy(') |
| 5471 | self.assertEndsWith(r, ')') |
| 5472 | for k, v in self.C.__dict__.items(): |
| 5473 | self.assertIn('{!r}: {!r}'.format(k, v), r) |
| 5474 | |
| 5475 | |
| 5476 | class AAAPTypesLongInitTest(unittest.TestCase): |
nothing calls this directly
no test coverage detected