refactor: pyupgrade second iteration (#27441)

This commit is contained in:
Usama Sadiq
2021-05-03 17:11:32 +05:00
committed by GitHub
parent 4a0731ce61
commit 11ec4a9aaa
14 changed files with 25 additions and 25 deletions

View File

@@ -125,7 +125,7 @@ class SplitTestBase(SharedModuleStoreTestCase):
unicode_content = resp.content.decode(resp.charset)
# Assert we see the proper icon in the top display
assert '<button class="{} inactive nav-item tab"'.format(self.ICON_CLASSES[user_tag]) in unicode_content
assert f'<button class="{self.ICON_CLASSES[user_tag]} inactive nav-item tab"' in unicode_content
# And proper tooltips
for tooltip in self.TOOLTIPS[user_tag]: