tests/test-doctest.py
author Matt Mackall <mpm@selenic.com>
Thu, 01 Jul 2010 11:20:08 -0500
branchstable
changeset 11484 44b4873ea59b
parent 11337 0f3c8a47960e
child 12165 b7fbf24c8a93
child 12594 bb324910e40a
permissions -rw-r--r--
Merge with i18n

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

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