comparison tests/test-notify.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 fe3303436b79
comparison
equal deleted inserted replaced
48875:6000f5b25c9b 48876:42d2b31cee0b
1 $ cat > $TESTTMP/filter.py <<EOF 1 $ cat > $TESTTMP/filter.py <<EOF
2 > from __future__ import absolute_import, print_function
3 > import io 2 > import io
4 > import re 3 > import re
5 > import sys 4 > import sys
6 > if sys.version_info[0] >= 3: 5 > if sys.version_info[0] >= 3:
7 > sys.stdout = io.TextIOWrapper( 6 > sys.stdout = io.TextIOWrapper(