Skip to content

Commit f2cbed2

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 3b4fb75 commit f2cbed2

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

testing/test_config.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -848,12 +848,8 @@ def pytest_addoption(parser):
848848
config = pytester.parseconfig()
849849
assert config.getini("strip") is bool_val
850850

851-
@pytest.mark.parametrize(
852-
"str_val, int_val", [("10", 10), ("no-ini", 0)]
853-
)
854-
def test_addini_int(
855-
self, pytester: Pytester, str_val: str, int_val: bool
856-
) -> None:
851+
@pytest.mark.parametrize("str_val, int_val", [("10", 10), ("no-ini", 0)])
852+
def test_addini_int(self, pytester: Pytester, str_val: str, int_val: bool) -> None:
857853
pytester.makeconftest(
858854
"""
859855
def pytest_addoption(parser):
@@ -870,9 +866,7 @@ def pytest_addoption(parser):
870866
config = pytester.parseconfig()
871867
assert config.getini("ini_param") == int_val
872868

873-
@pytest.mark.parametrize(
874-
"str_val, float_val", [("10.5", 10.5), ("no-ini", 0.0)]
875-
)
869+
@pytest.mark.parametrize("str_val, float_val", [("10.5", 10.5), ("no-ini", 0.0)])
876870
def test_addini_float(
877871
self, pytester: Pytester, str_val: str, float_val: bool
878872
) -> None:

0 commit comments

Comments
 (0)