MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / rebuild_traceback

Function rebuild_traceback

py/conftest.py:88–93  ·  view source on GitHub ↗

Rebuild a traceback object from frames list.

(frames)

Source from the content-addressed store, hash-verified

86
87
88def rebuild_traceback(frames):
89 """Rebuild a traceback object from frames list."""
90 new_tb = None
91 for frame, lineno, lasti in frames:
92 new_tb = types.TracebackType(new_tb, frame, lasti, lineno)
93 return new_tb
94
95
96def pytest_runtest_makereport(item, call):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected