Skip to content

Commit f5fa1e5

Browse files
committed
integ tests: align to new ExceptionInfo str implementation
related to pytest-dev/pytest#5579 Signed-off-by: Francesco De Martino <[email protected]>
1 parent 0fd6fac commit f5fa1e5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/integration-tests/conftest.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,10 @@ def pytest_collection_modifyitems(items):
132132
def pytest_exception_interact(node, call, report):
133133
"""Called when an exception was raised which can potentially be interactively handled.."""
134134
logging.error(
135-
"Exception raised while executing %s: %s\n%s", node.name, call.excinfo, "".join(format_tb(call.excinfo.tb))
135+
"Exception raised while executing %s: %s\n%s",
136+
node.name,
137+
call.excinfo.value,
138+
"".join(format_tb(call.excinfo.tb)),
136139
)
137140

138141

0 commit comments

Comments
 (0)