tests/test-doctest.py
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Thu, 02 Aug 2007 01:56:08 -0300
changeset 5053 47a8ea1eb2c3
parent 4122 306055f5b65c
child 5081 167c422c745f
permissions -rw-r--r--
del transaction before lock before wlock This way rollbacks happen while the repo is still locked. Deleting lock before wlock is not strictly necessary, but is more consistent with the locking order.

import doctest

import mercurial.changelog
# test doctest from changelog

doctest.testmod(mercurial.changelog)