sapling/tests/test-doctest.py
Martin Geisler e0e3bf4835 match: add narrowmatcher class
This class can be used to adapt an existing match object to a new
match object that only cares about paths within a certain
subdirectory.
2010-09-03 12:58:51 +02:00

26 lines
598 B
Python

# 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 mercurial.match
doctest.testmod(mercurial.match)
import mercurial.dagparser
doctest.testmod(mercurial.dagparser, optionflags=doctest.NORMALIZE_WHITESPACE)
import hgext.convert.cvsps
doctest.testmod(hgext.convert.cvsps)