Mercurial > babel > old > mirror
diff babel/tests/plural.py @ 413:a0fdc4c4a169
More plural module cleanup and fixes.
author | cmlenz |
---|---|
date | Mon, 25 Aug 2008 11:49:19 +0000 |
parents | |
children | e93f68837913 |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/babel/tests/plural.py @@ -0,0 +1,27 @@ +# -*- coding: utf-8 -*- +# +# Copyright (C) 2008 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 plural + + +def suite(): + suite = unittest.TestSuite() + suite.addTest(doctest.DocTestSuite(plural)) + return suite + + +if __name__ == '__main__': + unittest.main(defaultTest='suite')