tests/test-doctest.py
author Matt Mackall <mpm@selenic.com>
Fri, 13 Aug 2010 13:20:15 -0500
changeset 11903 a4cc9e6f41c3
parent 11337 0f3c8a47960e
child 12165 b7fbf24c8a93
child 12594 bb324910e40a
permissions -rw-r--r--
test-walk: enable absolute path tests

# 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)