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