linting: unfortunate dedent be gone.
This commit is contained in:
parent
846d91fb95
commit
5bd8561016
|
@ -588,7 +588,7 @@ def raises(expected_exception, *args, **kwargs):
|
||||||
base_type = (type, text_type, binary_type)
|
base_type = (type, text_type, binary_type)
|
||||||
for exc in filterfalse(isclass, always_iterable(expected_exception, base_type)):
|
for exc in filterfalse(isclass, always_iterable(expected_exception, base_type)):
|
||||||
msg = ("exceptions must be old-style classes or"
|
msg = ("exceptions must be old-style classes or"
|
||||||
" derived from BaseException, not %s")
|
" derived from BaseException, not %s")
|
||||||
raise TypeError(msg % type(exc))
|
raise TypeError(msg % type(exc))
|
||||||
|
|
||||||
message = "DID NOT RAISE {0}".format(expected_exception)
|
message = "DID NOT RAISE {0}".format(expected_exception)
|
||||||
|
|
Loading…
Reference in New Issue