Skip to content

Commit

Permalink
integ tests: align to new ExceptionInfo str implementation
Browse files Browse the repository at this point in the history
related to pytest-dev/pytest#5579

Signed-off-by: Francesco De Martino <fdm@amazon.com>
  • Loading branch information
demartinofra committed Jul 15, 2019
1 parent ff38c98 commit 52da61c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/integration-tests/conftest.py
Expand Up @@ -132,7 +132,10 @@ def pytest_collection_modifyitems(items):
def pytest_exception_interact(node, call, report):
"""Called when an exception was raised which can potentially be interactively handled.."""
logging.error(
"Exception raised while executing %s: %s\n%s", node.name, call.excinfo, "".join(format_tb(call.excinfo.tb))
"Exception raised while executing %s: %s\n%s",
node.name,
call.excinfo.value,
"".join(format_tb(call.excinfo.tb)),
)


Expand Down

0 comments on commit 52da61c

Please sign in to comment.