tests: use () instead of \ to wrap lines
authorAugie Fackler <augie@google.com>
Sun, 13 Jan 2019 20:13:22 -0500
changeset 41758 15d3facfa40a
parent 41757 062e9ebc3215
child 41759 aaad36b88298
tests: use () instead of \ to wrap lines This should auto-format more consistently, and is slightly more typical Python. Differential Revision: https://phab.mercurial-scm.org/D5992
tests/run-tests.py
--- a/tests/run-tests.py	Wed Feb 20 20:49:41 2019 -0800
+++ b/tests/run-tests.py	Sun Jan 13 20:13:22 2019 -0500
@@ -1408,8 +1408,8 @@
         session = str(uuid.uuid4())
         if PYTHON3:
             session = session.encode('ascii')
-        hgcatapult = os.getenv('HGTESTCATAPULTSERVERPIPE') or \
-            os.getenv('HGCATAPULTSERVERPIPE')
+        hgcatapult = (os.getenv('HGTESTCATAPULTSERVERPIPE') or
+                      os.getenv('HGCATAPULTSERVERPIPE'))
         def toggletrace(cmd=None):
             if not hgcatapult or hgcatapult == os.devnull:
                 return