Mercurial > hg
diff tests/test-status-inprocess.py @ 43076:2372284d9457
formatting: blacken the codebase
This is using my patch to black
(https://github.com/psf/black/pull/826) so we don't un-wrap collection
literals.
Done with:
hg files 'set:**.py - mercurial/thirdparty/** - "contrib/python-zstandard/**"' | xargs black -S
# skip-blame mass-reformatting only
# no-check-commit reformats foo_bar functions
Differential Revision: https://phab.mercurial-scm.org/D6971
author | Augie Fackler <augie@google.com> |
---|---|
date | Sun, 06 Oct 2019 09:45:02 -0400 |
parents | 7ce9dea3a14a |
children | c102b704edb5 |
line wrap: on
line diff
--- a/tests/test-status-inprocess.py Sat Oct 05 10:29:34 2019 -0400 +++ b/tests/test-status-inprocess.py Sun Oct 06 09:45:02 2019 -0400 @@ -10,6 +10,8 @@ ) print_ = print + + def print(*args, **kwargs): """print() wrapper that flushes stdout buffers to avoid py3 buffer issues @@ -19,6 +21,7 @@ print_(*args, **kwargs) sys.stdout.flush() + u = uimod.ui.load() print('% creating repo')