annotate babel/catalog/tests/pofile.py @ 12:e6ba3e878b10 trunk

* Removed pkg_resources/setuptools requirement from various places. * Fixed copyright year in a couple of file headers. * Some cleanup.
author cmlenz
date Thu, 31 May 2007 08:38:54 +0000
parents 7870274479f5
children 55e22bc56f0c
rev   line source
1
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
1 # -*- coding: utf-8 -*-
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
2 #
12
e6ba3e878b10 * Removed pkg_resources/setuptools requirement from various places.
cmlenz
parents: 1
diff changeset
3 # Copyright (C) 2007 Edgewall Software
1
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
4 # All rights reserved.
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
5 #
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
6 # This software is licensed as described in the file COPYING, which
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
7 # you should have received as part of this distribution. The terms
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
8 # are also available at http://babel.edgewall.org/wiki/License.
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
9 #
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
10 # This software consists of voluntary contributions made by many
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
11 # individuals. For the exact contribution history, see the revision
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
12 # history and logs, available at http://babel.edgewall.org/log/.
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
13
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
14 import doctest
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
15 import unittest
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
16
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
17 from babel.catalog import pofile
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
18
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
19 def suite():
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
20 suite = unittest.TestSuite()
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
21 suite.addTest(doctest.DocTestSuite(pofile))
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
22 return suite
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
23
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
24 if __name__ == '__main__':
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
25 unittest.main(defaultTest='suite')
Copyright (C) 2012-2017 Edgewall Software