tests/test-doctest.py
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Sat, 10 Mar 2007 23:00:57 -0300
changeset 4190 e8ee8fdeddb1
parent 4122 306055f5b65c
child 5081 167c422c745f
permissions -rw-r--r--
change locate to use relglobs by default This makes its default behaviour useful again (issue108), and changes it search the entire repository by default (instead of just the cwd), just like all other commands. It also hides issue204 by default, but you'll still see the same behaviour if you give it a relpath: pattern.

import doctest

import mercurial.changelog
# test doctest from changelog

doctest.testmod(mercurial.changelog)