changeset 48963:7e18fc0bc46c

tests: fix formatting issue in run-tests.py after c194e93d1ebc Differential Revision: https://phab.mercurial-scm.org/D12375
author Kyle Lippincott <spectral@google.com>
date Mon, 14 Mar 2022 12:24:34 -0700
parents 8dec9abf2669
children a82f5d2b48fb
files tests/run-tests.py
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/run-tests.py	Wed Mar 09 15:41:39 2022 -0800
+++ b/tests/run-tests.py	Mon Mar 14 12:24:34 2022 -0700
@@ -241,8 +241,11 @@
     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