linting: unfortunate dedent be gone.

This commit is contained in:
Tim Strazny 2018-04-06 17:36:35 +02:00
parent 846d91fb95
commit 5bd8561016
1 changed files with 1 additions and 1 deletions

View File

@ -588,7 +588,7 @@ def raises(expected_exception, *args, **kwargs):
base_type = (type, text_type, binary_type)
for exc in filterfalse(isclass, always_iterable(expected_exception, base_type)):
msg = ("exceptions must be old-style classes or"
" derived from BaseException, not %s")
" derived from BaseException, not %s")
raise TypeError(msg % type(exc))
message = "DID NOT RAISE {0}".format(expected_exception)