Fix up test files for W504

This commit is contained in:
Ian Stapleton Cordasco 2018-10-20 12:37:32 -05:00
parent c58a4662d8
commit 56b86ba9fe
No known key found for this signature in database
GPG key ID: C9D7A2604B4FCB2A
3 changed files with 15 additions and 15 deletions

View file

@ -50,5 +50,5 @@ class TestNotifier(object):
])
def test_listeners_for(self, code, expected):
"""Verify that we retrieve the correct listeners."""
assert ([l.error_code for l in self.notifier.listeners_for(code)] ==
expected)
assert ([l.error_code
for l in self.notifier.listeners_for(code)] == expected)