Open nedbat opened 3 years ago
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
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: