tests/test-doctest.py
author Patrick Mezard <pmezard@gmail.com>
Mon, 06 Oct 2008 13:51:36 +0200
changeset 7064 582dac23ebac
parent 7041 b856071435f7
child 7078 967adcf5910d
permissions -rw-r--r--
Merge with crew-stable

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