Mercurial > hg-stable
changeset 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 | 062e9ebc3215 |
children | aaad36b88298 |
files | tests/run-tests.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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