view tests/test-doctest.py @ 13143:c2e55c21db27

archive: add support for progress extension
author Martin Geisler <mg@aragost.com>
date Mon, 29 Nov 2010 16:17:05 +0100
parents 7cc4263e07a9
children b549ee324aef
line wrap: on
line source

# 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
doctest.testmod(mercurial.changelog)

import mercurial.dagparser
doctest.testmod(mercurial.dagparser, optionflags=doctest.NORMALIZE_WHITESPACE)

import mercurial.match
doctest.testmod(mercurial.match)

import mercurial.encoding
doctest.testmod(mercurial.encoding)

import hgext.convert.cvsps
doctest.testmod(hgext.convert.cvsps)