(self)
| 5225 | self.assertEqual(type(C.__dict__), type(B.__dict__)) |
| 5226 | |
| 5227 | def test_repr(self): |
| 5228 | # Testing mappingproxy.__repr__. |
| 5229 | # We can't blindly compare with the repr of another dict as ordering |
| 5230 | # of keys and values is arbitrary and may differ. |
| 5231 | r = repr(self.C.__dict__) |
| 5232 | self.assertStartsWith(r, 'mappingproxy(') |
| 5233 | self.assertEndsWith(r, ')') |
| 5234 | for k, v in self.C.__dict__.items(): |
| 5235 | self.assertIn('{!r}: {!r}'.format(k, v), r) |
| 5236 | |
| 5237 | |
| 5238 | class AAAPTypesLongInitTest(unittest.TestCase): |
nothing calls this directly
no test coverage detected