comparison tests/test-log.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 3b6b43a7ace4
children f3cd2d6eeef9
comparison
equal deleted inserted replaced
48875:6000f5b25c9b 48876:42d2b31cee0b
2449 2449
2450 Check that adding an arbitrary name shows up in log automatically 2450 Check that adding an arbitrary name shows up in log automatically
2451 2451
2452 $ cat > ../names.py <<EOF 2452 $ cat > ../names.py <<EOF
2453 > """A small extension to test adding arbitrary names to a repo""" 2453 > """A small extension to test adding arbitrary names to a repo"""
2454 > from __future__ import absolute_import
2455 > from mercurial import namespaces 2454 > from mercurial import namespaces
2456 > 2455 >
2457 > def reposetup(ui, repo): 2456 > def reposetup(ui, repo):
2458 > if not repo.local(): 2457 > if not repo.local():
2459 > return 2458 > return