Skip to content

Commit

Permalink
Remove use of poetry
Browse files Browse the repository at this point in the history
Signed-off-by: Travis F. Collins <[email protected]>
  • Loading branch information
tfcollins committed Sep 26, 2024
1 parent 27b20c2 commit 7adfa81
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# flake8: noqa
def pytest_exception_interact(node, call, report):
excinfo = call.excinfo
if "script" in node.funcargs:
excinfo.traceback = excinfo.traceback.cut(path=node.funcargs["script"])
report.longrepr = node.repr_failure(excinfo)

## Broken in 3.8+
# def pytest_exception_interact(node, call, report):
# excinfo = call.excinfo
# if "script" in node.funcargs:
# excinfo.traceback = excinfo.traceback.cut(path=node.funcargs["script"])
# report.longrepr = node.repr_failure(excinfo)

0 comments on commit 7adfa81

Please sign in to comment.