From 7d90aa315c4d1e7703e90bf8161ec4e6dd486ec1 Mon Sep 17 00:00:00 2001 From: Sarah Monod Date: Wed, 8 Apr 2026 13:44:43 -0400 Subject: [PATCH] lint: Upgrade to newer black style Signed-off-by: Sarah Monod --- tests/test_pytest_pystack.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/tests/test_pytest_pystack.py b/tests/test_pytest_pystack.py index a495943..aff9616 100644 --- a/tests/test_pytest_pystack.py +++ b/tests/test_pytest_pystack.py @@ -80,12 +80,10 @@ def test_default_pystack_options(testdir, monkeypatch, capfd): def serialize_config(pystack_config): - return textwrap.dedent( - f""" + return textwrap.dedent(f""" [tool.pytest.ini_options] {pystack_config} - """ - ) + """) def test_silent_when_debugging_by_default(testdir, monkeypatch): @@ -311,8 +309,7 @@ def test_pytester_compat(testdir, capfd, monkeypatch): # create a temporary pytest test file monkeypatch.chdir(testdir.tmpdir) - testdir.makepyfile( - """ + testdir.makepyfile(""" pytest_plugins = 'pytester' test_file =''' @@ -329,8 +326,7 @@ def test_pytester(pytester): pytester.makepyfile(test_file) result = pytester.runpytest() result.assert_outcomes(passed=1) - """ - ) + """) result = testdir.runpytest("--pystack-threshold=3", "-s") # check that all 1 test passed