view tests/test-doctest.py @ 7049:6489ee64b522

fetch: use dirstate branch instead of first parents
author Sune Foldager <cryo@cyanite.org>
date Wed, 24 Sep 2008 13:22:11 +0200
parents b856071435f7
children 967adcf5910d
line wrap: on
line source

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