##// END OF EJS Templates
tests: fix readline escape characters in heredoctest.py/test-url.py...
Brodie Rao -
r15398:474279be stable
parent child Browse files
Show More
@@ -1,6 +1,9 b''
1 1 import doctest, tempfile, os, sys
2 2
3 3 if __name__ == "__main__":
4 if 'TERM' in os.environ:
5 del os.environ['TERM']
6
4 7 fd, name = tempfile.mkstemp(suffix='hg-tst')
5 8
6 9 try:
@@ -1,4 +1,4 b''
1 import sys
1 import os
2 2
3 3 def check(a, b):
4 4 if a != b:
@@ -232,4 +232,7 b' def test_url():'
232 232 'foo/bar/baz'
233 233 """
234 234
235 if 'TERM' in os.environ:
236 del os.environ['TERM']
237
235 238 doctest.testmod(optionflags=doctest.NORMALIZE_WHITESPACE)
General Comments 0
You need to be logged in to leave comments. Login now