diff --git a/conftest.py b/conftest.py index c88f4ae2b..65b3e3236 100644 --- a/conftest.py +++ b/conftest.py @@ -69,4 +69,4 @@ def pytest_pyfunc_call(pyfuncitem): except Exception as e: import warnings - warnings.warn(f"Error reporting testrun: {e}: {e.read()}") + warnings.warn(f"Error reporting testrun: {e}")