]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
pytests/utils: fix lint issue
authorTomas Krizek <tomas.krizek@nic.cz>
Wed, 27 Feb 2019 12:21:31 +0000 (13:21 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Tue, 12 Mar 2019 09:43:39 +0000 (10:43 +0100)
tests/pytests/utils.py

index 46bd279e503659003634651e28b821aac9b12815..0826becf8ce5c0adaaaca1f391ce24a85238ab66 100644 (file)
@@ -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")