tests/test-doctest.py
changeset 27432 77d25b913f80
parent 25805 584044e5ad57
child 28933 6262f0215d08
equal deleted inserted replaced
27431:8f016345e6b0 27432:77d25b913f80
     9     mod = sys.modules[name]
     9     mod = sys.modules[name]
    10     if testtarget is not None:
    10     if testtarget is not None:
    11         mod = getattr(mod, testtarget)
    11         mod = getattr(mod, testtarget)
    12     doctest.testmod(mod, optionflags=optionflags)
    12     doctest.testmod(mod, optionflags=optionflags)
    13 
    13 
       
    14 testmod('mercurial.changegroup')
    14 testmod('mercurial.changelog')
    15 testmod('mercurial.changelog')
    15 testmod('mercurial.dagparser', optionflags=doctest.NORMALIZE_WHITESPACE)
    16 testmod('mercurial.dagparser', optionflags=doctest.NORMALIZE_WHITESPACE)
    16 testmod('mercurial.dispatch')
    17 testmod('mercurial.dispatch')
    17 testmod('mercurial.encoding')
    18 testmod('mercurial.encoding')
    18 testmod('mercurial.hg')
    19 testmod('mercurial.hg')