Mercurial > hg > mercurial-crew-with-dirclash
view tests/test-doctest.py @ 5197:55860a45bbf2
Enable demandimport only in scripts, not in importable modules (issue605)
This way other applications can choose if and when they want this feature,
because it might be problematic if those applications rely on ImportError.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sat, 18 Aug 2007 11:37:08 +0200 |
parents | 167c422c745f |
children |
line wrap: on
line source
import doctest import mercurial.changelog # test doctest from changelog doctest.testmod(mercurial.changelog) import mercurial.httprepo doctest.testmod(mercurial.httprepo)