We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, unittest2pytest converts this:
self.assertEqual(thing, None)
to:
assert thing == None
which pylint then complains about (as it should).
Arguably, the original line was wrong, but it would be a nice touch if unittest2pytest noticed the value and converted it to:
assert thing is None
The text was updated successfully, but these errors were encountered:
style: singleton comparisons should use is
65b5830
I guess the original line was wrong, but it would have been nice for unittest2pytest to fix it for me: pytest-dev/unittest2pytest#52
No branches or pull requests
Currently, unittest2pytest converts this:
to:
which pylint then complains about (as it should).
Arguably, the original line was wrong, but it would be a nice touch if unittest2pytest noticed the value and converted it to:
The text was updated successfully, but these errors were encountered: