Show More
@@ -4,8 +4,11 b' run-test.t only checks positive matches ' | |||||
4 | (both by design) |
|
4 | (both by design) | |
5 | """ |
|
5 | """ | |
6 |
|
6 | |||
7 |
|
7 | import os, re | ||
8 | import doctest, 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 | run_tests = __import__('run-tests') |
|
12 | run_tests = __import__('run-tests') | |
10 |
|
13 | |||
11 | def lm(expected, output): |
|
14 | def lm(expected, output): | |
@@ -54,7 +57,7 b' def wintests():' | |||||
54 | restore os.altsep |
|
57 | restore os.altsep | |
55 | >>> os.altsep = _osaltsep |
|
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 | def otherostests(): |
|
62 | def otherostests(): | |
60 | r"""test matching like running on non-windows os |
|
63 | r"""test matching like running on non-windows os |
General Comments 0
You need to be logged in to leave comments.
Login now