tests/test-doctest.py
author Matt Mackall <mpm@selenic.com>
Wed, 29 Dec 2010 14:19:44 -0600
changeset 13213 3eee7b42d17e
parent 13211 91bc001a592f
parent 13212 5d0a30fad7de
child 13402 f947d9a4c45c
permissions -rw-r--r--
merge with stable

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

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

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