tests/test-doctest.py
author Patrick Mezard <pmezard@gmail.com>
Tue, 28 Dec 2010 14:53:08 +0100
changeset 13194 b549ee324aef
parent 13046 7cc4263e07a9
child 13211 91bc001a592f
permissions -rw-r--r--
test-doctest: test url.py again, removed by 7cc4263e07a9

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

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

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