Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxWarning due to comparison of literals using is #53

Closed
tirkarthi opened this issue Jul 5, 2020 · 1 comment
Closed

SyntaxWarning due to comparison of literals using is #53

tirkarthi opened this issue Jul 5, 2020 · 1 comment

Comments

@tirkarthi
Copy link

find . -iname '*.py' | grep -v example | xargs -P4 -I{} python3.8 -Wall -m py_compile {}
./test.py:75: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  self.assertTrue('StatusCode' in result and result['StatusCode'] is not 400)
diskovod added a commit to diskovod/mailjet-apiv3-python that referenced this issue Oct 9, 2020
@diskovod diskovod mentioned this issue Oct 9, 2020
@tirkarthi
Copy link
Author

Fixed in #63

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant