Skip to content

Commit

Permalink
Use is operator for comparing with None (Pep8)
Browse files Browse the repository at this point in the history
  • Loading branch information
quantifiedcode-bot committed Jun 3, 2016
1 parent 32c4548 commit c45a33b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests.py
Expand Up @@ -186,7 +186,7 @@ def test_fetch_logs(self, session):
z = Zappa(session)
z.credentials_arn = 'arn:aws:iam::12345:role/ZappaLambdaExecution'
events = z.fetch_logs('Spheres-demonstration')
self.assertTrue(events != None)
self.assertTrue(events is not None)

def test_policy_json(self):
# ensure the policy docs are valid JSON
Expand Down

0 comments on commit c45a33b

Please sign in to comment.