-
I was trying to solve an error regarding assert none when working on a hands-on. This query was already raised, but even after following the steps, the issue still persists. The discussion was closed and hence https://github.com/pytest-dev/pytest/issues/6203 and hence I opened a new one. test/test_webpage.py::TestWebpage::test_indexpage /projects/challenge/test/test_webpage.py:27: PytestAssertRewriteWarning: asserting the value None, please use "assert is None" assert self._index.find('video', {'autoplay': ''}) The code already has the autoplay attribute set like how it is expected in the form of key value pairs. But still I am getting an error as above. Code is attached as markdown. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This warning was misleading and so it was removed in pytest 5.3.2 -- I'd suggest upgrading pytest |
Beta Was this translation helpful? Give feedback.
This warning was misleading and so it was removed in pytest 5.3.2 -- I'd suggest upgrading pytest