Skip to content

AI spam#3531

Closed
hanhan761 wants to merge 1 commit into
pallets:mainfrom
hanhan761:fix-3476-warning-default-test
Closed

AI spam#3531
hanhan761 wants to merge 1 commit into
pallets:mainfrom
hanhan761:fix-3476-warning-default-test

Conversation

@hanhan761
Copy link
Copy Markdown

Summary

  • update test_flag_group_competition_duplicate_option_name to assert the expected UserWarning explicitly
  • assert the successful duplicate-option output when warnings are not promoted to errors

Issue

Fixes #3476

Verification

  • PYTHONPATH=src python -m pytest -Wdefault tests/test_options.py::test_flag_group_competition_duplicate_option_name -q
  • PYTHONPATH=src python -m pytest tests/test_options.py -q

@davidism davidism changed the title Explicitly assert duplicate option warning AI spam May 29, 2026
@davidism davidism closed this May 29, 2026
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.

test_flag_group_competition_duplicate_option_name relies on -Werror

2 participants