Mercurial > public > mercurial-scm > hg-stable
diff tests/test-doctest.py @ 12165:b7fbf24c8a93
match: add narrowmatcher class
This class can be used to adapt an existing match object to a new
match object that only cares about paths within a certain
subdirectory.
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Fri, 03 Sep 2010 12:58:51 +0200 |
parents | 0f3c8a47960e |
children | 0f83a402faa0 |
line wrap: on
line diff
--- a/tests/test-doctest.py Fri Sep 03 12:58:51 2010 +0200 +++ b/tests/test-doctest.py Fri Sep 03 12:58:51 2010 +0200 @@ -15,6 +15,9 @@ import mercurial.util doctest.testmod(mercurial.util) +import mercurial.match +doctest.testmod(mercurial.match) + import mercurial.dagparser doctest.testmod(mercurial.dagparser, optionflags=doctest.NORMALIZE_WHITESPACE)