Fix comparisons to None
Diff checked manually. autopep8 -a -ir -j2 --select=E711 . This required the "agressive" option because it can change code behavior.
This commit is contained in:
parent
7094931c92
commit
e0542c2e4a
14 changed files with 27 additions and 27 deletions
|
|
@ -59,9 +59,9 @@ class ImdbTest(BackendTest):
|
|||
def test_get_person_biography(self):
|
||||
bio = self.backend.get_person_biography('nm0223033')
|
||||
assert bio != ''
|
||||
assert bio != None
|
||||
assert bio is not None
|
||||
|
||||
def test_get_movie_releases(self):
|
||||
rel = self.backend.get_movie_releases('tt0079980')
|
||||
assert rel != ''
|
||||
assert rel != None
|
||||
assert rel is not None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue