aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2023-05-24 12:33:19 +0100
committerGravatar GitHub <[email protected]>2023-05-24 12:33:19 +0100
commit5df34a0f14374b2e7476cb8e1f9c838ca01536bb (patch)
tree925b523a15a58d714ac0791d1ea4169e583dc622 /tests
parentMerge pull request #2603 from python-discord/build-docker-image-in-ci (diff)
parentUse f-string conversions over functions (diff)
Merge pull request #2595 from python-discord/dependabot/pip/ruff-0.0.267
Bump ruff from 0.0.265 to 0.0.267
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