Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
test_protected_namespace_defaults
with -Wdefault
This test failed with "pytest -Wdefault", which distros usually enable for downstream testing to avoid surprise failures. Use proper `pytest.warns()` method instead of incorrect `pytest.raises()`. See: https://mgorny.pl/articles/downstream-testing-python-packages.html#assuming-werror-catching-warnings-as-exceptions
- Loading branch information