changeset 7079:0b74409d5858

Merge with crew-stable
author Patrick Mezard <pmezard@gmail.com>
date Sun, 12 Oct 2008 19:11:56 +0200
parents ccbd39cad3c3 (current diff) 967adcf5910d (diff)
children a6477aa893b8
files
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-doctest.py	Sat Oct 11 13:07:29 2008 +0200
+++ b/tests/test-doctest.py	Sun Oct 12 19:11:56 2008 +0200
@@ -1,5 +1,7 @@
 # this is hack to make sure no escape characters are inserted into the output
-import os; del os.environ['TERM'] 
+import os;
+if 'TERM' in os.environ:
+    del os.environ['TERM'] 
 import doctest
 
 import mercurial.changelog