diff options
| author | 2020-02-18 18:29:22 +0100 | |
|---|---|---|
| committer | 2020-02-18 18:29:22 +0100 | |
| commit | dd9c250253a7bb24751f2de274dfa168efafb717 (patch) | |
| tree | 548eed57a764e4ac508118211ab327bc4f33acbb /tests | |
| parent | Split assertions onto separate lines (diff) | |
Delete additional informations from subtest
Reduce visual clutter
Co-Authored-By: Mark <[email protected]>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/bot/cogs/test_snekbox.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bot/cogs/test_snekbox.py b/tests/bot/cogs/test_snekbox.py index 01525110d..f1f03ab2f 100644 --- a/tests/bot/cogs/test_snekbox.py +++ b/tests/bot/cogs/test_snekbox.py @@ -76,7 +76,7 @@ class SnekboxTests(unittest.TestCase): ('```py\nprint("Hello world!")```', 'print("Hello world!")', 'multiline python code block'), ) for case, expected, testname in cases: - with self.subTest(msg=f'Extract code from {testname}.', case=case, expected=expected): + with self.subTest(msg=f'Extract code from {testname}.'): self.assertEqual(self.cog.prepare_input(case), expected) def test_get_results_message(self): |