Mercurial > genshi > mirror
view genshi/template/tests/base.py @ 732:8825ac5014b1 trunk
Fix expression interpolation for expression containing triple-quoted multiline strings. Thanks to Armin Ronacher for reporting the issue and providing a patch.
author | cmlenz |
---|---|
date | Tue, 03 Jun 2008 20:22:33 +0000 |
parents | 4675d5cf6c67 |
children | 0f9fe59dfa00 |
line wrap: on
line source
# -*- coding: utf-8 -*- # # Copyright (C) 2006-2007 Edgewall Software # 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://genshi.edgewall.org/wiki/License. # # This software consists of voluntary contributions made by many # individuals. For the exact contribution history, see the revision # history and logs, available at http://genshi.edgewall.org/log/. import doctest import unittest from genshi.template.base import Template def suite(): suite = unittest.TestSuite() suite.addTest(doctest.DocTestSuite(Template.__module__)) return suite if __name__ == '__main__': unittest.main(defaultTest='suite')