MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_subclasses

Method test_subclasses

Lib/test/test_index.py:149–150  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

147 self.assertEqual(self.seq.__rmul__(self.n), self.seq * 5)
148
149 def test_subclasses(self):
150 self.assertEqual(self.seq[TrapInt()], self.seq[0])
151
152 def test_error(self):
153 self.o.ind = 'dumb'

Callers

nothing calls this directly

Calls 2

TrapIntClass · 0.85
assertEqualMethod · 0.45

Tested by

no test coverage detected