|
assert multiply_fixture*5 != None |
test\test_parameterizing_autouse_fixture.py:11:34: E711 Comparison to `None` should be `cond is not None`
|
9 | @pytest.mark.parametrize("multiply_fixture", [2, 3, 4], indirect=True)
10 | def test_multiplication(multiply_fixture):
11 | assert multiply_fixture*5 != None
| ^^^^ E711
|
= help: Replace with `cond is not None`
Found 4 errors (3 fixed, 1 remaining).
No fixes available (1 hidden fix can be enabled with the `--unsafe-fixes` option).
P.S. ruff format would be nice also 😉
pytest-fixture-autouse-example/test/test_parameterizing_autouse_fixture.py
Line 10 in 7c58501
P.S.
ruff formatwould be nice also 😉