Mercurial > public > mercurial-scm > hg
diff tests/test-revlog-raw.py @ 51686:493034cc3265
black: format the codebase with 23.3.0
The CI has moved to 23.3.0, which is the last version that supports 3.7
at runtime, so we should honor this change.
# skip-blame mass-reformating only
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Thu, 18 Jul 2024 12:36:12 +0200 |
parents | 8ed03f773eac |
children | 7f0cb9ee0534 |
line wrap: on
line diff
--- a/tests/test-revlog-raw.py Thu Jul 18 12:03:29 2024 +0200 +++ b/tests/test-revlog-raw.py Thu Jul 18 12:36:12 2024 +0200 @@ -246,7 +246,7 @@ That is to say, given any x, y where both x, and y are in range(2 ** n), there is an x followed immediately by y in the generated sequence. """ - m = 2 ** n + m = 2**n # Gray Code. See https://en.wikipedia.org/wiki/Gray_code gray = lambda x: x ^ (x >> 1)