(x)
| 486 | __bool__ = __int__ |
| 487 | __index__ = __int__ |
| 488 | def index(x): |
| 489 | return [][x] |
| 490 | |
| 491 | for f in [float, complex, str, repr, bytes, bin, oct, hex, bool, index]: |
| 492 | self.assertRaises(TypeError, f, BadTypeClass()) |
no outgoing calls
no test coverage detected