tests/test-doctest.py
author Lee Cantey <lcantey@gmail.com>
Mon, 09 Jul 2007 10:46:41 -0700
changeset 4858 30762680fcd2
parent 4122 306055f5b65c
child 5066 167c422c745f
permissions -rw-r--r--
Fix for win32text corrupting files that have CRLF line endings. (issue302) Also generate a warning when encountering this condition. From Shun-ichi Goto in attachment win32text-patch3.txt for issue 302.

import doctest

import mercurial.changelog
# test doctest from changelog

doctest.testmod(mercurial.changelog)