Mercurial > genshi > genshi-test
view markup/tests/path.py @ 8:ea47069a901c
`Stream.render()` was masking `TypeError`s (fix based on suggestion by Matt Good).
author | cmlenz |
---|---|
date | Sun, 04 Jun 2006 10:59:25 +0000 |
parents | 821114ec4f69 |
children | 039fc5b87405 |
line wrap: on
line source
# -*- coding: utf-8 -*- # # Copyright (C) 2006 Christopher Lenz # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.com/license.html. # # This software consists of voluntary contributions made by many # individuals. For the exact contribution history, see the revision # history and logs, available at http://projects.edgewall.com/trac/. import doctest import unittest from markup import path def suite(): suite = unittest.TestSuite() suite.addTest(doctest.DocTestSuite(path)) return suite if __name__ == '__main__': unittest.main(defaultTest='suite')