D5992: tests: use () instead of \ to wrap lines

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Thu Feb 21 16:29:10 EST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG15d3facfa40a: tests: use () instead of \ to wrap lines (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5992?vs=14162&id=14177

REVISION DETAIL
  https://phab.mercurial-scm.org/D5992

AFFECTED FILES
  tests/run-tests.py

CHANGE DETAILS

diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -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



To: durin42, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list