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

Function round_trip_repr

extra_tests/snippets/builtin_exceptions.py:11–12  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

9
10
11def round_trip_repr(e):
12 return exceptions_eq(e, eval(repr(e)))
13
14
15# KeyError

Callers 1

Calls 3

exceptions_eqFunction · 0.85
reprFunction · 0.85
evalFunction · 0.50

Tested by

no test coverage detected