tests/test-doctest.py
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Tue, 24 Oct 2006 23:00:43 -0300
changeset 3505 0aef94f45ebf
parent 3224 394ac87f3b74
child 4122 306055f5b65c
permissions -rw-r--r--
revlog.py: always return tuples from parents and parentrevs There's at least one place doing parentrevs(rev) != (rev-1, -1), which is always true with revlog v0, since parentrevs returns a list in this case.

#!/usr/bin/env python
#

import doctest

import mercurial.changelog
# test doctest from changelog

doctest.testmod(mercurial.changelog)