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

Class BadSeq

extra_tests/snippets/stdlib_functools.py:61–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59
60
61class BadSeq:
62 def __getitem__(self, index):
63 raise ValueError
64
65
66with assert_raises(ValueError):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected