##// END OF EJS Templates
tests: make test-run-tests use absolute_import
Pulkit Goyal -
r28917:f798ffe7 default
parent child Browse files
Show More
@@ -62,7 +62,6 b''
62 62 tests/test-manifest.py not using absolute_import
63 63 tests/test-pathencode.py not using absolute_import
64 64 tests/test-pathencode.py requires print_function
65 tests/test-run-tests.py not using absolute_import
66 65 tests/test-simplemerge.py not using absolute_import
67 66 tests/test-trusted.py requires print_function
68 67
@@ -3,13 +3,14 b''
3 3 run-test.t only checks positive matches and can not see warnings
4 4 (both by design)
5 5 """
6 from __future__ import print_function
6 from __future__ import absolute_import, print_function
7 7
8 import os, re
8 import doctest
9 import os
10 import re
9 11 # this is hack to make sure no escape characters are inserted into the output
10 12 if 'TERM' in os.environ:
11 13 del os.environ['TERM']
12 import doctest
13 14 run_tests = __import__('run-tests')
14 15
15 16 def prn(ex):
General Comments 0
You need to be logged in to leave comments. Login now