test-doctest.py
35 lines
| 811 B
| text/x-python
|
PythonLexer
/ tests / test-doctest.py
Mads Kiilerich
|
r7041 | # this is hack to make sure no escape characters are inserted into the output | ||
Matt Mackall
|
r10413 | import os | ||
Patrick Mezard
|
r7078 | if 'TERM' in os.environ: | ||
Dirkjan Ochtman
|
r7184 | del os.environ['TERM'] | ||
Benoit Boissinot
|
r3232 | import doctest | ||
import mercurial.changelog | ||||
doctest.testmod(mercurial.changelog) | ||||
Peter Arrenbrecht
|
r11335 | import mercurial.dagparser | ||
Peter Arrenbrecht
|
r11337 | doctest.testmod(mercurial.dagparser, optionflags=doctest.NORMALIZE_WHITESPACE) | ||
Peter Arrenbrecht
|
r11335 | |||
Martin Geisler
|
r12165 | import mercurial.match | ||
doctest.testmod(mercurial.match) | ||||
Adrian Buehlmann
|
r13949 | import mercurial.store | ||
doctest.testmod(mercurial.store) | ||||
Sune Foldager
|
r14171 | import mercurial.ui | ||
doctest.testmod(mercurial.ui) | ||||
Mads Kiilerich
|
r12594 | import mercurial.url | ||
doctest.testmod(mercurial.url) | ||||
Matt Mackall
|
r13212 | import mercurial.util | ||
doctest.testmod(mercurial.util) | ||||
Matt Mackall
|
r13046 | import mercurial.encoding | ||
doctest.testmod(mercurial.encoding) | ||||
Mads Kiilerich
|
r12594 | |||
Mads Kiilerich
|
r13402 | import mercurial.hgweb.hgwebdir_mod | ||
doctest.testmod(mercurial.hgweb.hgwebdir_mod) | ||||
Patrick Mezard
|
r7097 | import hgext.convert.cvsps | ||
doctest.testmod(hgext.convert.cvsps) | ||||