Mercurial > hg-stable
diff tests/test-doctest.py @ 15392:d7bfbc92a1c0 stable
util: add a doctest for empty sha() calls
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 31 Oct 2011 15:41:39 -0500 |
parents | a773119f30ba |
children | 87bb6b7644f6 |
line wrap: on
line diff
--- a/tests/test-doctest.py Thu Oct 20 17:24:59 2011 -0400 +++ b/tests/test-doctest.py Mon Oct 31 15:41:39 2011 -0500 @@ -4,6 +4,9 @@ del os.environ['TERM'] import doctest +import mercurial.util +doctest.testmod(mercurial.util) + import mercurial.changelog doctest.testmod(mercurial.changelog) @@ -22,9 +25,6 @@ import mercurial.url doctest.testmod(mercurial.url) -import mercurial.util -doctest.testmod(mercurial.util) - import mercurial.encoding doctest.testmod(mercurial.encoding)