##// END OF EJS Templates
tests: fix test-run-tests.py on OS X...
Simon Heimberg -
r20284:e1e6ddae default
parent child Browse files
Show More
@@ -4,8 +4,11 b' run-test.t only checks positive matches '
4 4 (both by design)
5 5 """
6 6
7
8 import doctest, os, re
7 import os, re
8 # this is hack to make sure no escape characters are inserted into the output
9 if 'TERM' in os.environ:
10 del os.environ['TERM']
11 import doctest
9 12 run_tests = __import__('run-tests')
10 13
11 14 def lm(expected, output):
@@ -54,7 +57,7 b' def wintests():'
54 57 restore os.altsep
55 58 >>> os.altsep = _osaltsep
56 59 """
57 os.altsep # for pyflakes, because it does not see os in the doctest
60 pass
58 61
59 62 def otherostests():
60 63 r"""test matching like running on non-windows os
General Comments 0
You need to be logged in to leave comments. Login now