test_autodoc: Separate testdata (python objects) and testcases

This commit is contained in:
Takeshi KOMIYA
2017-12-17 10:35:51 +09:00
parent a95bc095c0
commit ec240614d9
7 changed files with 557 additions and 320 deletions

View File

@@ -182,8 +182,8 @@ def test_html_warnings(app, warning):
r'-| |-'),
],
'autodoc.html': [
(".//dt[@id='test_autodoc.Class']", ''),
(".//dt[@id='test_autodoc.function']/em", r'\*\*kwds'),
(".//dt[@id='autodoc_target.Class']", ''),
(".//dt[@id='autodoc_target.function']/em", r'\*\*kwds'),
(".//dd/p", r'Return spam\.'),
],
'extapi.html': [