From 98e14ccc222a59d9f9b241d3d5e3bb3cdd9c7884 Mon Sep 17 00:00:00 2001 From: Tomas Krizek Date: Wed, 27 Feb 2019 13:21:31 +0100 Subject: [PATCH] pytests/utils: fix lint issue --- tests/pytests/utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/pytests/utils.py b/tests/pytests/utils.py index 46bd279e5..0826becf8 100644 --- a/tests/pytests/utils.py +++ b/tests/pytests/utils.py @@ -105,8 +105,7 @@ def expect_kresd_close(rst_ok=False): except ConnectionResetError: if rst_ok: raise BrokenPipeError - else: - pytest.skip("kresd closed connection with TCP RST") + pytest.skip("kresd closed connection with TCP RST") pytest.fail("kresd didn't close the connection") -- 2.47.3