##// END OF EJS Templates
tests: make test-doctest use absolute_import
Pulkit Goyal -
r28933:6262f021 default
parent child Browse files
Show More
@@ -55,7 +55,6 b''
55 55 tests/test-atomictempfile.py not using absolute_import
56 56 tests/test-demandimport.py not using absolute_import
57 57 tests/test-demandimport.py requires print_function
58 tests/test-doctest.py not using absolute_import
59 58 tests/test-trusted.py requires print_function
60 59
61 60 #if py3exe
@@ -1,8 +1,12 b''
1 1 # this is hack to make sure no escape characters are inserted into the output
2 import os, sys
2
3 from __future__ import absolute_import
4
5 import doctest
6 import os
7 import sys
3 8 if 'TERM' in os.environ:
4 9 del os.environ['TERM']
5 import doctest
6 10
7 11 def testmod(name, optionflags=0, testtarget=None):
8 12 __import__(name)
General Comments 0
You need to be logged in to leave comments. Login now