view tests/test-doctest.py @ 4959:97b734fb9c6f

Use try/finally pattern to cleanup locks and transactions
author Matt Mackall <mpm@selenic.com>
date Sat, 21 Jul 2007 16:02:10 -0500
parents 306055f5b65c
children 167c422c745f
line wrap: on
line source

import doctest

import mercurial.changelog
# test doctest from changelog

doctest.testmod(mercurial.changelog)