# HG changeset patch # User Kyle Lippincott # Date 2022-03-14 19:24:34 # Node ID 7e18fc0bc46c76a91a0a39c9387ddff2f251f183 # Parent 8dec9abf26697fc963041d672231fe7749eb8c25 tests: fix formatting issue in run-tests.py after c194e93d1ebc Differential Revision: https://phab.mercurial-scm.org/D12375 diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -241,8 +241,11 @@ def checksocketfamily(name, port=20058): except (socket.error, OSError) as exc: if exc.errno == errno.EADDRINUSE: return True - elif exc.errno in (errno.EADDRNOTAVAIL, errno.EPROTONOSUPPORT, - errno.EAFNOSUPPORT): + elif exc.errno in ( + errno.EADDRNOTAVAIL, + errno.EPROTONOSUPPORT, + errno.EAFNOSUPPORT, + ): return False else: raise