Skip to content

Commit 0afc3fb

Browse files
committed
Remove code smells where non-f-strings
1 parent 2fd5bf4 commit 0afc3fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/unit/nox/_artifacts_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def test_fails_when_check_fails(self, tmp_path, capsys):
105105
with mock_check_artifacts_session(tmp_path) as session:
106106
with pytest.raises(SystemExit):
107107
check_artifacts(session)
108-
assert f"error in [" in capsys.readouterr().err
108+
assert "error in [" in capsys.readouterr().err
109109

110110

111111
class TestIsValidLintTxt:
@@ -260,7 +260,7 @@ def test_missing_files(tmp_path, capsys):
260260
captured = capsys.readouterr()
261261
assert re.match(
262262
cleandoc(
263-
f"""
263+
"""
264264
Could not find any file .*/coverage-python9.9\\*/.coverage
265265
File not found .*/lint-python9.9/.lint.txt
266266
File not found .*/lint-python9.9/.lint.json
@@ -293,7 +293,7 @@ def test_all_files(tmp_path, capsys):
293293
)
294294
assert re.match(
295295
cleandoc(
296-
f"""
296+
"""
297297
Copying file .*/lint-python9.9/.lint.txt
298298
Copying file .*/lint-python9.9/.lint.json
299299
Copying file .*/security-python9.9/.security.json

0 commit comments

Comments
 (0)