view tests/test-doctest.py @ 13081:79184986658c

export: flush the file pointer between patches
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Wed, 01 Dec 2010 21:46:08 +0100
parents 7cc4263e07a9
children b549ee324aef
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.encoding
doctest.testmod(mercurial.encoding)

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