Mercurial > hg
comparison tests/test-hgweb-no-request-uri.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 | c70bdd222dcd |
children |
comparison
equal
deleted
inserted
replaced
48875:6000f5b25c9b | 48876:42d2b31cee0b |
---|---|
13 user: test | 13 user: test |
14 date: Thu Jan 01 00:00:00 1970 +0000 | 14 date: Thu Jan 01 00:00:00 1970 +0000 |
15 summary: test | 15 summary: test |
16 | 16 |
17 $ cat > request.py <<EOF | 17 $ cat > request.py <<EOF |
18 > from __future__ import absolute_import | |
19 > import os | 18 > import os |
20 > import sys | 19 > import sys |
21 > from mercurial import ( | 20 > from mercurial import ( |
22 > encoding, | 21 > encoding, |
23 > hgweb, | 22 > hgweb, |