---
source: crates/ruff_linter/src/rules/flake8_pytest_style/mod.rs
---
PT026.py:19:1: PT026 [*] Useless `pytest.mark.usefixtures` without parameters
   |
19 | @pytest.mark.usefixtures()
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^ PT026
20 | def test_error_with_parens():
21 |     pass
   |
   = help: Remove `usefixtures` decorator or pass parameters

ℹ Unsafe fix
16 16 |     pass
17 17 | 
18 18 | 
19    |-@pytest.mark.usefixtures()
   19 |+
20 20 | def test_error_with_parens():
21 21 |     pass
22 22 | 

PT026.py:24:1: PT026 [*] Useless `pytest.mark.usefixtures` without parameters
   |
24 | @pytest.mark.usefixtures
   | ^^^^^^^^^^^^^^^^^^^^^^^^ PT026
25 | def test_error_no_parens():
26 |     pass
   |
   = help: Remove `usefixtures` decorator or pass parameters

ℹ Unsafe fix
21 21 |     pass
22 22 | 
23 23 | 
24    |-@pytest.mark.usefixtures
   24 |+
25 25 | def test_error_no_parens():
26 26 |     pass


