changeset 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 d1c82127573e
children 0ada66dcc259
files tests/test-doctest.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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