Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update check_test docstring to clarify state parameter #6052

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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