Mercurial > babel > mirror
diff babel/tests/support.py @ 61:9d13b9a5d727 trunk
Move `Translations` and `LazyProxy` to new `babel.support` module, which should contain any convenience code that is useful for applications using Babel/I18n, but not used by Babel itself.
''(Note that [61] was an accidential check in of part of this change)''
author | cmlenz |
---|---|
date | Fri, 08 Jun 2007 11:54:01 +0000 |
parents | |
children | 0f040e15ef66 |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/babel/tests/support.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +# +# Copyright (C) 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://babel.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://babel.edgewall.org/log/. + +import doctest +import unittest + +from babel import support + +def suite(): + suite = unittest.TestSuite() + suite.addTest(doctest.DocTestSuite(support)) + return suite + +if __name__ == '__main__': + unittest.main(defaultTest='suite')