From 5bd85610163df47dfe5070532c09268032dc4b42 Mon Sep 17 00:00:00 2001 From: Tim Strazny Date: Fri, 6 Apr 2018 17:36:35 +0200 Subject: [PATCH] linting: unfortunate dedent be gone. --- _pytest/python_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_pytest/python_api.py b/_pytest/python_api.py index 521c3bc48..8e09a4a6f 100644 --- a/_pytest/python_api.py +++ b/_pytest/python_api.py @@ -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)