Mercurial > hg
comparison tests/test-revset.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 | 8c4881c07f57 |
children | 6dbe74669eba |
comparison
equal
deleted
inserted
replaced
48875:6000f5b25c9b | 48876:42d2b31cee0b |
---|---|
34 | 34 |
35 extension to build '_intlist()' and '_hexlist()', which is necessary because | 35 extension to build '_intlist()' and '_hexlist()', which is necessary because |
36 these predicates use '\0' as a separator: | 36 these predicates use '\0' as a separator: |
37 | 37 |
38 $ cat <<EOF > debugrevlistspec.py | 38 $ cat <<EOF > debugrevlistspec.py |
39 > from __future__ import absolute_import | |
40 > from mercurial import ( | 39 > from mercurial import ( |
41 > node as nodemod, | 40 > node as nodemod, |
42 > registrar, | 41 > registrar, |
43 > revset, | 42 > revset, |
44 > revsetlang, | 43 > revsetlang, |