tests/test-doctest.py
author Matt Mackall <mpm@selenic.com>
Wed, 08 Oct 2008 16:22:08 -0500
changeset 7066 865c5be0f8df
parent 7041 b856071435f7
child 7078 967adcf5910d
permissions -rw-r--r--
merge: fix bug going backwards for already reverted files (issue1303)

# this is hack to make sure no escape characters are inserted into the output
import os; 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)