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

Method check_traceback_entry

Lib/test/test_pyexpat.py:457–459  ·  view source on GitHub ↗
(self, entry, filename, funcname)

Source from the content-addressed store, hash-verified

455 raise RuntimeError(f'StartElementHandler: <{name}>')
456
457 def check_traceback_entry(self, entry, filename, funcname):
458 self.assertEqual(os.path.basename(entry.filename), filename)
459 self.assertEqual(entry.name, funcname)
460
461 @support.cpython_only
462 def test_exception(self):

Callers 1

_test_exceptionMethod · 0.95

Calls 2

basenameMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected