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

Warn not error on an nonexistant test given #1230

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

ericwb
Copy link
Member

@ericwb ericwb commented Feb 4, 2025

When a user gives a test ID to include or skip, the current behavior raises an exception and exits the process.

However, when tests end up getting deprecated and eventually removed, it is a lot more user friendly to simple present a warning to the user that the test ID given wasn't found rather than a hard error and exit.

Fixes: #1228, #1226

When a user gives a test ID to include or skip, the current
behavior raises an exception and exits the process.

However, when tests end up getting deprecated and eventually
removed, it is a lot more user friendly to simple present
a warning to the user that the test ID given wasn't found
rather than a hard error and exit.

Fixes: PyCQA#1228

Signed-off-by: Eric Brown <[email protected]>
@ericwb ericwb merged commit affd4fd into PyCQA:main Feb 5, 2025
14 checks passed
@ericwb ericwb deleted the warn_missing_check branch February 5, 2025 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Blacklist code B320 was removed and breaks my deploy
2 participants