Mercurial > public > mercurial-scm > hg-stable
diff tests/test-walkrepo.py @ 52663:dc36535a5edc
style: drop extraneous parentheses
These were rewritten by `pyupgrade`.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 06 Jan 2025 14:07:43 -0500 |
parents | 6000f5b25c9b |
children |
line wrap: on
line diff
--- a/tests/test-walkrepo.py Mon Jan 06 13:54:40 2025 -0500 +++ b/tests/test-walkrepo.py Mon Jan 06 14:07:43 2025 -0500 @@ -35,18 +35,12 @@ if sym and (len(reposet) != 3): print("reposet = %r" % (reposet,)) print( - ( - "Found %d repositories when I should have found 3" - % (len(reposet),) - ) + "Found %d repositories when I should have found 3" % (len(reposet),) ) if (not sym) and (len(reposet) != 2): print("reposet = %r" % (reposet,)) print( - ( - "Found %d repositories when I should have found 2" - % (len(reposet),) - ) + "Found %d repositories when I should have found 2" % (len(reposet),) ) sub1set = frozenset( (pjoin(b'.', b'sub1'), pjoin(b'.', b'circle', b'subdir', b'sub1'))