Skip to content

Commit 660660e

Browse files
committed
Use more f-strings
1 parent 21c1e40 commit 660660e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_codecs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3114,7 +3114,7 @@ def test_alias_modules_exist(self):
31143114
for value in encodings.aliases.aliases.values():
31153115
codec_mod = f"encodings.{value}"
31163116
self.assertIsNotNone(importlib.util.find_spec(codec_mod),
3117-
"Codec module not found: " + codec_mod)
3117+
f"Codec module not found: {codec_mod}")
31183118

31193119
def test_quopri_stateless(self):
31203120
# Should encode with quotetabs=True

0 commit comments

Comments
 (0)