diff options
author | W. Trevor King <wking@drexel.edu> | 2009-12-13 06:19:23 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-12-13 06:19:23 -0500 |
commit | 4d057dab603f42ec40b911dbee6792dcf107bd14 (patch) | |
tree | 9a73459aa160e3c96f4893b132543f412ca6e97f /test.py | |
parent | dff6bd9bf89ca80e2265696a478e540476718c9c (diff) | |
download | bugseverywhere-4d057dab603f42ec40b911dbee6792dcf107bd14.tar.gz |
Converted libbe.storage.vcs.base to new Storage format.
Diffstat (limited to 'test.py')
-rw-r--r-- | test.py | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -57,8 +57,11 @@ def add_module_tests(suite, modname): s = mod.suite else: s = unittest.TestLoader().loadTestsFromModule(mod) - sdoc = doctest.DocTestSuite(mod) - suite.addTest(sdoc) + try: + sdoc = doctest.DocTestSuite(mod) + suite.addTest(sdoc) + except ValueError: + pass suite.addTest(s) suite = unittest.TestSuite() |