From bafb4582507f508420e17646fad1ae6a1ef9fe6f Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Sun, 15 Sep 2019 20:46:16 -0400 Subject: [PATCH] Make sure skip is passed a string (#465) --- tests/test_remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_remote.py b/tests/test_remote.py index 2a7bb4f6d..9335cb83c 100644 --- a/tests/test_remote.py +++ b/tests/test_remote.py @@ -291,7 +291,7 @@ def test_iter_lines_timeout(self): print("err:", err) except NotImplementedError: try: - pytest.skip(sys.exc_info()[1]) + pytest.skip(str(sys.exc_info()[1])) except AttributeError: return except ProcessTimedOut: