tests/test-doctest.py
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Wed, 15 Oct 2008 01:14:29 +0200
changeset 7096 6dab29f6df37
parent 7078 967adcf5910d
child 7097 d4218edd55bd
child 7184 380fda3eed13
permissions -rw-r--r--
dirstate._dirs: fix refcounting broken by 7dfac37cfabf reported by Patrick Waugh

# 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)