tests/test-doctest.py
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Sat, 07 Apr 2007 04:27:55 -0300
changeset 4316 6e4334be0aaa
parent 4122 306055f5b65c
child 5081 167c422c745f
permissions -rw-r--r--
Try to find diffstat in PATH before calling it At least on Solaris, /bin/sh will print a "command not found" message even if we redirect stderr.

import doctest

import mercurial.changelog
# test doctest from changelog

doctest.testmod(mercurial.changelog)