pytest==4.1 has deprecated get_marker and replaced with Node.get_closest_marker(name) Refer: https://github.com/pytest-dev/pytest/issues/4546 https://docs.pytest.org/en/latest/mark.html#update-marker-code
Pull-Request has been merged by mrniranjan
pytest==4.1 has deprecated get_marker and replaced
with Node.get_closest_marker(name)
Refer: https://github.com/pytest-dev/pytest/issues/4546
https://docs.pytest.org/en/latest/mark.html#update-marker-code