tests: fix readline escape characters in output for test-doctest.py
authorMads Kiilerich <mads@kiilerich.com>
Thu, 18 Sep 2008 13:48:41 +0200
changeset 7041 b856071435f7
parent 7038 d1c82127573e
child 7042 0ada66dcc259
tests: fix readline escape characters in output for test-doctest.py
tests/test-doctest.py
--- a/tests/test-doctest.py	Wed Sep 17 11:14:06 2008 +0200
+++ b/tests/test-doctest.py	Thu Sep 18 13:48:41 2008 +0200
@@ -1,3 +1,5 @@
+# this is hack to make sure no escape characters are inserted into the output
+import os; del os.environ['TERM'] 
 import doctest
 
 import mercurial.changelog