tests/test-doctest.py
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Thu, 12 Oct 2006 14:04:11 -0300
changeset 3369 4bad632913d8
parent 3224 394ac87f3b74
child 4122 306055f5b65c
permissions -rw-r--r--
python2.5 PyArg_ParseTuple fix Python 2.5 doesn't like it when we mix str objects and the "t#" format in PyArg_ParseTuple. Change it to use "s#". Tested with python 2.3, 2.4 and 2.5.

#!/usr/bin/env python
#

import doctest

import mercurial.changelog
# test doctest from changelog

doctest.testmod(mercurial.changelog)