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

Syntax warning due to comparison of literals using is #26

Open
tirkarthi opened this issue Apr 21, 2020 · 0 comments
Open

Syntax warning due to comparison of literals using is #26

tirkarthi opened this issue Apr 21, 2020 · 0 comments

Comments

@tirkarthi
Copy link

  • super-csv version: master branch
  • Python version: 3.8
  • Operating System: Linux

Description

find . -iname '*py' | grep -Ev 'setup|rdf4|tool' | xargs -P4 -I{} python3.8 -Wall -m py_compile {}
./tests/test_models.py:25: SyntaxWarning: "is" with a literal. Did you mean "=="?
  assert operation.data.name is ''
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