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

Method assertEqual

extra_tests/snippets/syntax_fstring.py:113–114  ·  view source on GitHub ↗
(self, a,b)

Source from the content-addressed store, hash-verified

111
112class C:
113 def assertEqual(self, a,b):
114 assert a==b, "{0} == {1}".format(a,b)
115
116self=C()
117

Callers 6

__init__Method · 0.95
__setstate__Method · 0.95
__release_buffer__Method · 0.95
syntax_fstring.pyFile · 0.45
_test_marshalMethod · 0.45

Calls 1

formatMethod · 0.45

Tested by 4

__init__Method · 0.76
__setstate__Method · 0.76
__release_buffer__Method · 0.76