Mercurial > babel > old > mirror
comparison 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 |
comparison
equal
deleted
inserted
replaced
412:d2b5fa531a58 | 413:a0fdc4c4a169 |
---|---|
1 # -*- coding: utf-8 -*- | |
2 # | |
3 # Copyright (C) 2008 Edgewall Software | |
4 # All rights reserved. | |
5 # | |
6 # This software is licensed as described in the file COPYING, which | |
7 # you should have received as part of this distribution. The terms | |
8 # are also available at http://babel.edgewall.org/wiki/License. | |
9 # | |
10 # This software consists of voluntary contributions made by many | |
11 # individuals. For the exact contribution history, see the revision | |
12 # history and logs, available at http://babel.edgewall.org/log/. | |
13 | |
14 import doctest | |
15 import unittest | |
16 | |
17 from babel import plural | |
18 | |
19 | |
20 def suite(): | |
21 suite = unittest.TestSuite() | |
22 suite.addTest(doctest.DocTestSuite(plural)) | |
23 return suite | |
24 | |
25 | |
26 if __name__ == '__main__': | |
27 unittest.main(defaultTest='suite') |