(self, x)
| 3899 | self.assertEqual(str.__getitem__("hello", slice(4)), "hell") |
| 3900 | class S(str): |
| 3901 | def __getitem__(self, x): |
| 3902 | return str.__getitem__(self, x) |
| 3903 | self.assertEqual(S("hello")[:4], "hell") |
| 3904 | self.assertEqual(S("hello")[slice(4)], "hell") |
| 3905 | self.assertEqual(S("hello").__getitem__(slice(4)), "hell") |
nothing calls this directly
no test coverage detected