tests/test-doctest.py
author Thomas Arendsen Hein <thomas@intevation.de>
Sun, 19 Oct 2008 12:34:34 +0200
changeset 7165 89431fbe0524
parent 7097 d4218edd55bd
child 7185 67ba74938b15
permissions -rw-r--r--
Fix test-notify output for older diffstat versions.

# this is hack to make sure no escape characters are inserted into the output
import os;
if 'TERM' in os.environ:
    del os.environ['TERM'] 
import doctest

import mercurial.changelog
# test doctest from changelog

doctest.testmod(mercurial.changelog)

import mercurial.httprepo
doctest.testmod(mercurial.httprepo)

import mercurial.util
doctest.testmod(mercurial.util)

import hgext.convert.cvsps
doctest.testmod(hgext.convert.cvsps)