Skip to content

Commit

Permalink
Merge pull request avocado-framework#6053 from mikigo/master
Browse files Browse the repository at this point in the history
Update check_test docstring to clarify state parameter
  • Loading branch information
richtja authored Nov 1, 2024
2 parents 12863df + 46d0b63 commit bb45e43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion avocado/core/result.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ def check_test(self, state):
"""
Called once for a test to check status and report.
:param test: A dict with test internal state
:param state: result of :class:`avocado.core.test.Test.get_state`.
:type state: dict
"""
status = state.get("status")
if status == "PASS":
Expand Down
1 change: 0 additions & 1 deletion avocado/core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,6 @@ def add_argparser_to_option(
"argument or be a positional argument"
)

option = None
try:
option = self._namespaces[namespace]
except KeyError:
Expand Down

0 comments on commit bb45e43

Please sign in to comment.