Make "make check" happy.

This commit is contained in:
Georg Brandl
2009-02-19 23:31:34 +01:00
parent 3f7733f8d3
commit a43b651804
12 changed files with 43 additions and 34 deletions

View File

@@ -401,7 +401,8 @@ def test_generate():
options.members = ALL
assert_result_contains('.. class:: Class', 'module', 'test_autodoc')
try:
assert_result_contains('.. exception:: CustomEx', 'module', 'test_autodoc')
assert_result_contains('.. exception:: CustomEx',
'module', 'test_autodoc')
except AssertionError:
pass
else: