Skip to content

Commit 855d736

Browse files
rustyrussellniftynei
authored andcommitted
CI: don't fall over if cannot connect to upload server.
``` > warnings.warn(f"Error reporting testrun: {e}: {e.read()}") E AttributeError: 'URLError' object has no attribute 'read' ``` Signed-off-by: Rusty Russell <[email protected]>
1 parent f77d4d7 commit 855d736

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,4 @@ def pytest_pyfunc_call(pyfuncitem):
6969
except Exception as e:
7070
import warnings
7171

72-
warnings.warn(f"Error reporting testrun: {e}: {e.read()}")
72+
warnings.warn(f"Error reporting testrun: {e}")

0 commit comments

Comments
 (0)