-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
assert multiply_fixture*5 != None |
ruff check --fix
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 😉
Metadata
Metadata
Assignees
Labels
No labels