Files
ruff/resources/test/fixtures/flake8_pytest_style/PT026.py
2023-01-02 16:34:17 -05:00

27 lines
338 B
Python

import pytest
@pytest.mark.usefixtures("a")
def test_ok():
pass
@pytest.mark.foo()
def test_ok_another_mark_with_parens():
pass
@pytest.mark.foo
def test_ok_another_mark_no_parens():
pass
@pytest.mark.usefixtures()
def test_error_with_parens():
pass
@pytest.mark.usefixtures
def test_error_no_parens():
pass