test-doctest.py
41 lines
| 931 B
| text/x-python
|
PythonLexer
/ tests / test-doctest.py
|
r7041 | # this is hack to make sure no escape characters are inserted into the output | ||
|
r10413 | import os | ||
|
r7078 | if 'TERM' in os.environ: | ||
|
r7184 | del os.environ['TERM'] | ||
|
r3232 | import doctest | ||
|
r15392 | import mercurial.util | ||
doctest.testmod(mercurial.util) | ||||
|
r3232 | import mercurial.changelog | ||
doctest.testmod(mercurial.changelog) | ||||
|
r11335 | import mercurial.dagparser | ||
|
r11337 | doctest.testmod(mercurial.dagparser, optionflags=doctest.NORMALIZE_WHITESPACE) | ||
|
r11335 | |||
|
r12165 | import mercurial.match | ||
doctest.testmod(mercurial.match) | ||||
|
r13949 | import mercurial.store | ||
doctest.testmod(mercurial.store) | ||||
|
r14171 | import mercurial.ui | ||
doctest.testmod(mercurial.ui) | ||||
|
r12594 | import mercurial.url | ||
doctest.testmod(mercurial.url) | ||||
|
r13046 | import mercurial.encoding | ||
doctest.testmod(mercurial.encoding) | ||||
|
r12594 | |||
|
r13402 | import mercurial.hgweb.hgwebdir_mod | ||
doctest.testmod(mercurial.hgweb.hgwebdir_mod) | ||||
|
r7097 | import hgext.convert.cvsps | ||
doctest.testmod(hgext.convert.cvsps) | ||||
|
r14901 | |||
import mercurial.revset | ||||
doctest.testmod(mercurial.revset) | ||||
|
r15393 | |||
import mercurial.minirst | ||||
doctest.testmod(mercurial.minirst) | ||||