tests/test-doctest.py
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Wed, 04 Apr 2007 04:22:05 -0300
changeset 4303 6cecaec07cc9
parent 4122 306055f5b65c
child 5081 167c422c745f
permissions -rw-r--r--
Revert changeset ef1f1a4b2efb; add another test for glob: patterns With that changeset, it's impossible to use a glob: pattern to match e.g. all files ending in .py - glob:**.py would also match all files in a directory called dir.py.

import doctest

import mercurial.changelog
# test doctest from changelog

doctest.testmod(mercurial.changelog)