comparison tests/test-walk.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 35f1ecd84bd0
children 47686726545d
comparison
equal deleted inserted replaced
48875:6000f5b25c9b 48876:42d2b31cee0b
638 Test split patterns on overflow 638 Test split patterns on overflow
639 639
640 $ cd t 640 $ cd t
641 $ echo fennel > overflow.list 641 $ echo fennel > overflow.list
642 $ cat >> printnum.py <<EOF 642 $ cat >> printnum.py <<EOF
643 > from __future__ import print_function
644 > for i in range(20000 // 100): 643 > for i in range(20000 // 100):
645 > print('x' * 100) 644 > print('x' * 100)
646 > EOF 645 > EOF
647 $ "$PYTHON" printnum.py >> overflow.list 646 $ "$PYTHON" printnum.py >> overflow.list
648 $ echo fenugreek >> overflow.list 647 $ echo fenugreek >> overflow.list