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

Avoid deprecated pytest.warns(None) #2548

Merged
merged 1 commit into from Nov 26, 2022
Merged

Commits on Nov 25, 2022

  1. Avoid deprecated pytest.warns(None)

        tests/unit/config/test_config.py::TestConfigTestEnv::test_default_single_digit_factors
        tests/unit/config/test_config.py::TestConfigTestEnv::test_default_single_digit_factors
        tests/unit/config/test_config.py::TestConfigTestEnv::test_default_factors_conflict_ignore
          /usr/lib/python3.11/site-packages/_pytest/python.py:192: PytestRemovedIn8Warning: Passing None has been deprecated.
          See https://docs.pytest.org/en/latest/how-to/capture-warnings.html#additional-use-cases-of-warnings-in-tests for alternatives in common use cases.
    hroncok committed Nov 25, 2022
    Configuration menu
    Copy the full SHA
    5179ed7 View commit details
    Browse the repository at this point in the history