Mercurial > public > mercurial-scm > hg-stable
diff tests/run-tests.py @ 41767:15d3facfa40a
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
author | Augie Fackler <augie@google.com> |
---|---|
date | Sun, 13 Jan 2019 20:13:22 -0500 |
parents | 7855a949b7c2 |
children | aaad36b88298 |
line wrap: on
line diff
--- 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