Skip to content

Commit

Permalink
help: fix sphinx error message test
Browse files Browse the repository at this point in the history
  • Loading branch information
epsy committed Jan 14, 2017
1 parent 765b657 commit f1ce6b1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions clize/tests/test_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -1348,10 +1348,10 @@ def _test(self, docstring, exp_helpstream, exp_stderr=u''):
(help.EL_FREE_TEXT, 'Description', False),
(help.EL_PARAM_DESC, 'param', 'param desc'),
(help.EL_FREE_TEXT, 'backquotes `like that one don\'t generate text in the help', False),
], """
func:6: (WARNING/2) Inline interpreted text or phrase reference
start-string without end-string.
"""
], (
"func:6: (WARNING/2) Inline interpreted text or phrase reference "
"start-string without end-string."
)

sphinx_has_sphinx_error_in_param_desc = """
Description
Expand All @@ -1360,10 +1360,10 @@ def _test(self, docstring, exp_helpstream, exp_stderr=u''):
""", [
(help.EL_FREE_TEXT, 'Description', False),
(help.EL_PARAM_DESC, 'param', 'deals with backquotes `like that one'),
], """
func:4: (WARNING/2) Inline interpreted text or phrase reference
start-string without end-string.
"""
], (
"func:4: (WARNING/2) Inline interpreted text or phrase reference "
"start-string without end-string."
)


class WrappedFuncTests(Fixtures):
Expand Down

0 comments on commit f1ce6b1

Please sign in to comment.