run pyupgrade

This commit is contained in:
Ronny Pfannschmidt
2018-05-17 23:31:16 +02:00
parent d41119ed04
commit 9aacb4635e
34 changed files with 102 additions and 102 deletions

View File

@@ -455,7 +455,7 @@ class ExceptionInfo(object):
"""
__tracebackhide__ = True
if not re.search(regexp, str(self.value)):
assert 0, "Pattern '{0!s}' not found in '{1!s}'".format(
assert 0, "Pattern '{!s}' not found in '{!s}'".format(
regexp, self.value)
return True