tests/test-doctest.py
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Sat, 06 Oct 2007 14:14:11 -0300
changeset 5397 11caa374f497
parent 5081 167c422c745f
permissions -rw-r--r--
osutil.c: include Python.h before the other headers This is recommended by the Python documentation, since Python.h defines some constants.

import doctest

import mercurial.changelog
# test doctest from changelog

doctest.testmod(mercurial.changelog)

import mercurial.httprepo
doctest.testmod(mercurial.httprepo)