view tests/test-doctest.py @ 7835:2505e9f84153

Optimization of pure.base85.b85encode This makes pure python base85 encoding 3x faster than before. Now it is only 40x slower than the C version.
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 04 Mar 2009 23:23:59 +0100
parents 67ba74938b15
children e433002acb05
line wrap: on
line source

# this is hack to make sure no escape characters are inserted into the output
import os;
if 'TERM' in os.environ:
    del os.environ['TERM']
import doctest

import mercurial.changelog
# test doctest from changelog

doctest.testmod(mercurial.changelog)

import mercurial.httprepo
doctest.testmod(mercurial.httprepo)

import mercurial.util
doctest.testmod(mercurial.util)

import hgext.convert.cvsps
doctest.testmod(hgext.convert.cvsps)