view tests/test-doctest.py @ 13299:f24ea9356e7d

keyword: move repo.__class__ assignment out of monkeypatch context A cosmetic change to improve readability.
author Christian Ebert <blacktrash@gmx.net>
date Sun, 23 Jan 2011 03:15:44 +0100
parents 3eee7b42d17e
children f947d9a4c45c
line wrap: on
line source

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