aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2023-05-16 20:40:01 +0100
committerGravatar Chris Lovering <[email protected]>2023-05-24 12:31:49 +0100
commita909bb00732a6e8a0a795f67f582ecd2557aeed6 (patch)
tree925b523a15a58d714ac0791d1ea4169e583dc622 /tests
parentBump ruff from 0.0.265 to 0.0.267 (diff)
Use f-string conversions over functions
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/utils/test_services.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bot/utils/test_services.py b/tests/bot/utils/test_services.py
index d0e801299..3c9e037ce 100644
--- a/tests/bot/utils/test_services.py
+++ b/tests/bot/utils/test_services.py
@@ -42,7 +42,7 @@ class PasteTests(unittest.IsolatedAsyncioTestCase):
self.bot.http_session.post.return_value.__aenter__.return_value = response
for expected_output, extension in test_cases:
- with self.subTest(msg=f"Send contents with extension {repr(extension)}"):
+ with self.subTest(msg=f"Send contents with extension {extension!r}"):
self.assertEqual(
await send_to_paste_service("", extension=extension),
expected_output