diff tests/test-doctest.py @ 7041:b856071435f7

tests: fix readline escape characters in output for test-doctest.py
author Mads Kiilerich <mads@kiilerich.com>
date Thu, 18 Sep 2008 13:48:41 +0200
parents dcbda0c4c3eb
children 967adcf5910d
line wrap: on
line diff
--- 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