tests/heredoctest.py
branchstable
changeset 1109 8458561f6f94
parent 1108 168da136346a
child 1110 d5b3404b82ce
--- a/tests/heredoctest.py	Thu Oct 13 17:54:35 2011 +0200
+++ b/tests/heredoctest.py	Tue Nov 01 12:25:54 2011 -0700
@@ -1,6 +1,9 @@
 import doctest, tempfile, os, sys
 
 if __name__ == "__main__":
+    if 'TERM' in os.environ:
+        del os.environ['TERM']
+
     fd, name = tempfile.mkstemp(suffix='hg-tst')
 
     try: