tests/test-doctest.py
author Matt Mackall <mpm@selenic.com>
Wed, 29 Dec 2010 14:19:31 -0600
branchstable
changeset 13212 5d0a30fad7de
parent 12595 0f83a402faa0
child 13213 3eee7b42d17e
permissions -rw-r--r--
date: fix matching of underspecified date ranges (backport of 91bc001a592f to 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 hgext.convert.cvsps
doctest.testmod(hgext.convert.cvsps)