comparison tests/test-hook.t @ 48876: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 af0b21d5a930
children 950c39918bd2
comparison
equal deleted inserted replaced
48875:6000f5b25c9b 48876:42d2b31cee0b
829 [40] 829 [40]
830 830
831 $ cd "$TESTTMP/b" 831 $ cd "$TESTTMP/b"
832 832
833 $ cat > hooktests.py <<EOF 833 $ cat > hooktests.py <<EOF
834 > from __future__ import print_function
835 > from mercurial import ( 834 > from mercurial import (
836 > error, 835 > error,
837 > pycompat, 836 > pycompat,
838 > ) 837 > )
839 > 838 >