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 e731dcf commit fb8d57d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration-tests/conftest.py
Expand Up @@ -132,7 +132,7 @@ 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 fb8d57d

Please sign in to comment.