Mercurial > hg
view tests/test-doctest.py @ 12456:1f74b0d0f485
tests: unify test-inotify-issue1556
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 26 Sep 2010 13:43:21 -0500 |
parents | b7fbf24c8a93 |
children | 0f83a402faa0 |
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 # test doctest from changelog doctest.testmod(mercurial.changelog) import mercurial.httprepo doctest.testmod(mercurial.httprepo) import mercurial.util doctest.testmod(mercurial.util) import mercurial.match doctest.testmod(mercurial.match) import mercurial.dagparser doctest.testmod(mercurial.dagparser, optionflags=doctest.NORMALIZE_WHITESPACE) import hgext.convert.cvsps doctest.testmod(hgext.convert.cvsps)