Skip to content

Commit

Permalink
Create errors on purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
tetienne committed Oct 22, 2020
1 parent 9715d21 commit 4b08919
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions allure-pytest/src/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ def decorate_as_description(self, test_description):
allure_description = getattr(pytest.mark, ALLURE_DESCRIPTION_MARK)
return allure_description(test_description)



@allure_commons.hookimpl
def decorate_as_description_html(self, test_description_html):
allure_description_html = getattr(pytest.mark, ALLURE_DESCRIPTION_HTML_MARK)
Expand Down
1 change: 0 additions & 1 deletion allure-python-commons/src/_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ def format_exception_only(etype, value):
lines.append(_format_final_exc_line(stype, value))
return lines


def _format_final_exc_line(etype, value):
"""Return a list of a single line -- normal case for format_exception_only"""
valuestr = _some_str(value)
Expand Down

0 comments on commit 4b08919

Please sign in to comment.