Commit 3b83cd4
authored
Avoid deprecated pytest.warns(None) (#2548)
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.1 parent 0e1054b commit 3b83cd4
1 file changed
+7
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
2469 | 2470 | | |
2470 | 2471 | | |
2471 | 2472 | | |
2472 | | - | |
| 2473 | + | |
| 2474 | + | |
2473 | 2475 | | |
2474 | 2476 | | |
2475 | 2477 | | |
| |||
2483 | 2485 | | |
2484 | 2486 | | |
2485 | 2487 | | |
2486 | | - | |
2487 | 2488 | | |
2488 | | - | |
| 2489 | + | |
| 2490 | + | |
2489 | 2491 | | |
2490 | 2492 | | |
2491 | 2493 | | |
| |||
2499 | 2501 | | |
2500 | 2502 | | |
2501 | 2503 | | |
2502 | | - | |
2503 | 2504 | | |
2504 | 2505 | | |
2505 | | - | |
| 2506 | + | |
| 2507 | + | |
2506 | 2508 | | |
2507 | 2509 | | |
2508 | 2510 | | |
| |||
2516 | 2518 | | |
2517 | 2519 | | |
2518 | 2520 | | |
2519 | | - | |
2520 | 2521 | | |
2521 | 2522 | | |
2522 | 2523 | | |
| |||
0 commit comments