MCPcopy Index your code
hub / github.com/RustPython/RustPython / builtin_str.py

File builtin_str.py

extra_tests/snippets/builtin_str.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1from testutils import AssertRaises, assert_raises, skip_if_unsupported
2
3assert "".__eq__(1) == NotImplemented
4assert "a" == "a"

Callers

nothing calls this directly

Calls 15

assert_raisesFunction · 0.90
AssertRaisesClass · 0.90
skip_if_unsupportedFunction · 0.90
lenFunction · 0.85
strFunction · 0.85
reprFunction · 0.85
iterFunction · 0.85
nextFunction · 0.85
reversedFunction · 0.85
chrFunction · 0.85
idFunction · 0.85
FooClass · 0.70

Tested by

no test coverage detected