(self)
| 211 | self.assertEqual(t.fromkeys(range(2)), {0: None, 1: None}) # Should be equivalent |
| 212 | |
| 213 | def test_no_chaining(self): |
| 214 | t = list[int] |
| 215 | with self.assertRaises(TypeError): |
| 216 | t[int] |
| 217 | |
| 218 | def test_generic_subclass(self): |
| 219 | class MyList(list): |
nothing calls this directly
no test coverage detected