Flake8 clean

This commit is contained in:
medmunds
2017-04-16 11:43:13 -07:00
parent 853a7cd31d
commit 8bdc67939a
15 changed files with 58 additions and 57 deletions

View File

@@ -167,8 +167,7 @@ class _AssertWarnsContext(object):
continue
if first_matching is None:
first_matching = w
if (self.expected_regex is not None and
not self.expected_regex.search(str(w))):
if self.expected_regex is not None and not self.expected_regex.search(str(w)):
continue
# store warning for later retrieval
self.warning = w