Mercurial > babel > mirror
changeset 570:a661a0360248 trunk
remove Python 2.3 conditional in test suite generation
author | fschwarz |
---|---|
date | Wed, 28 Sep 2011 10:09:35 +0000 |
parents | 1b801a0cb2cb |
children | 301c0616913d |
files | babel/messages/tests/catalog.py |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/babel/messages/tests/catalog.py +++ b/babel/messages/tests/catalog.py @@ -285,10 +285,7 @@ def suite(): suite = unittest.TestSuite() - if hasattr(doctest, 'ELLIPSIS'): - suite.addTest(doctest.DocTestSuite(catalog, optionflags=doctest.ELLIPSIS)) - else: - suite.addTest(doctest.DocTestSuite(catalog)) + suite.addTest(doctest.DocTestSuite(catalog, optionflags=doctest.ELLIPSIS)) suite.addTest(unittest.makeSuite(MessageTestCase)) suite.addTest(unittest.makeSuite(CatalogTestCase)) return suite