tests/test-doctest.py
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Fri, 09 Feb 2007 03:48:28 -0200
changeset 4070 961ccb615cf7
parent 3224 394ac87f3b74
child 4122 306055f5b65c
permissions -rw-r--r--
Handle functions as the value of a hooks.<name> config variable This should make it easier for extensions to add a hook when they're loaded.

#!/usr/bin/env python
#

import doctest

import mercurial.changelog
# test doctest from changelog

doctest.testmod(mercurial.changelog)