Mercurial > hg
comparison tests/test-run-tests.py @ 48875:6000f5b25c9b
py2: remove simple from __future__ statements
These were needed for Python 2 support. Now that our linter no longer
mandates these, we can start deleting them.
Differential Revision: https://phab.mercurial-scm.org/D12254
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 03 Mar 2022 17:34:00 +0100 |
parents | 75b623801f6a |
children |
comparison
equal
deleted
inserted
replaced
48874:af0b21d5a930 | 48875:6000f5b25c9b |
---|---|
1 """test line matching with some failing examples and some which warn | 1 """test line matching with some failing examples and some which warn |
2 | 2 |
3 run-test.t only checks positive matches and can not see warnings | 3 run-test.t only checks positive matches and can not see warnings |
4 (both by design) | 4 (both by design) |
5 """ | 5 """ |
6 from __future__ import absolute_import, print_function | |
7 | 6 |
8 import doctest | 7 import doctest |
9 import os | 8 import os |
10 import re | 9 import re |
11 | 10 |