--- 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: