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: