Mercurial > hg-stable
diff tests/test-import.t @ 48967:42d2b31cee0b
tests: remove from __future__ from inline Python in tests
This is no longer required since we require Python 3 and the linter
no longer requires these statements.
Differential Revision: https://phab.mercurial-scm.org/D12255
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 20 Feb 2022 15:28:44 -0700 |
parents | 35f1ecd84bd0 |
children | 7e5be4a7cda7 |
line wrap: on
line diff
--- a/tests/test-import.t Thu Mar 03 17:34:00 2022 +0100 +++ b/tests/test-import.t Sun Feb 20 15:28:44 2022 -0700 @@ -71,7 +71,6 @@ regardless of the commit message in the patch) $ cat > dummypatch.py <<EOF - > from __future__ import print_function > print('patching file a') > open('a', 'wb').write(b'line2\n') > EOF