tests/test-doctest.py
author Thomas Arendsen Hein <thomas@intevation.de>
Tue, 26 Jun 2007 20:37:15 +0200
changeset 4729 9881abfc0e44
parent 4122 306055f5b65c
child 5081 167c422c745f
permissions -rw-r--r--
Catch illegal boolean values in hgrc nicely. With hg 0.9.3 the section and parameter name wasn't printed, with hg 0.9.4 there was a traceback for ValueError.

import doctest

import mercurial.changelog
# test doctest from changelog

doctest.testmod(mercurial.changelog)