Commit be7e2dca authored by Jim Fulton's avatar Jim Fulton

Fixed a spurious test failure on Python 2.4 dur to changes in optparse

output.
parent 745d9432
...@@ -15,11 +15,17 @@ ...@@ -15,11 +15,17 @@
$Id$ $Id$
""" """
import unittest import re, unittest
from zope.testing import doctest from zope.testing import doctest, renormalizing
def test_suite(): def test_suite():
return unittest.TestSuite(( return unittest.TestSuite((
doctest.DocFileSuite('zeopack.test'), doctest.DocFileSuite(
'zeopack.test',
checker=renormalizing.RENormalizing([
(re.compile('usage: Usage: '), 'Usage: '), # Py 2.4
(re.compile('options:'), 'Options:'), # Py 2.4
])
),
)) ))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment