From 2187ca76aeb10a760a6dd49e77538eeb2d2b8f0c Mon Sep 17 00:00:00 2001 From: Francesco De Martino Date: Mon, 15 Jul 2019 17:00:19 +0200 Subject: [PATCH] integ tests: align to new ExceptionInfo str implementation related to https://github.com/pytest-dev/pytest/issues/5579 Signed-off-by: Francesco De Martino --- tests/integration-tests/conftest.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/integration-tests/conftest.py b/tests/integration-tests/conftest.py index 5758f9b91b..499ccc57cc 100644 --- a/tests/integration-tests/conftest.py +++ b/tests/integration-tests/conftest.py @@ -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)), )