(self, x)
| 3986 | self.assertEqual(str.__getitem__("hello", slice(4)), "hell") |
| 3987 | class S(str): |
| 3988 | def __getitem__(self, x): |
| 3989 | return str.__getitem__(self, x) |
| 3990 | self.assertEqual(S("hello")[:4], "hell") |
| 3991 | self.assertEqual(S("hello")[slice(4)], "hell") |
| 3992 | self.assertEqual(S("hello").__getitem__(slice(4)), "hell") |
nothing calls this directly
no test coverage detected