You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/lib/python2.7/site-packages/allure_pytest/utils.py:23: RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.
Please use node.get_closest_marker(name) or node.iter_markers(name).
Docs: https://docs.pytest.org/en/latest/mark.html#updating-code
return marker.args[0] if marker and marker.args else None
/lib/python2.7/site-packages/allure_pytest/utils.py:74: RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.
Please use node.get_closest_marker(name) or node.iter_markers(name).
Docs: https://docs.pytest.org/en/latest/mark.html#updating-code
args = [represent(arg) for arg in marker.args]
/lib/python2.7/site-packages/allure_pytest/utils.py:75: RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.
Please use node.get_closest_marker(name) or node.iter_markers(name).
Docs: https://docs.pytest.org/en/latest/mark.html#updating-code
kwargs = ['{name}={value}'.format(name=key, value=represent(marker.kwargs[key])) for key in marker.kwargs]
/lib/python2.7/site-packages/allure_pytest/utils.py:80: RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.
Please use node.get_closest_marker(name) or node.iter_markers(name).
Docs: https://docs.pytest.org/en/latest/mark.html#updating-code
return '@pytest.mark.{name}'.format(name=marker.name)
Still got two warnings with allure-pytest-2.5.3 & pytest-3.8.2/pytest-3.9.3:
……/test/venv/lib/python3.7/site-packages/allure_pytest/utils.py:46: RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.
Please use node.get_closest_marker(name) or node.iter_markers(name).
Docs: https://docs.pytest.org/en/latest/mark.html#updating-code
label_type = marker.kwargs['label_type']
……/test/venv/lib/python3.7/site-packages/allure_pytest/utils.py:48: RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.
Please use node.get_closest_marker(name) or node.iter_markers(name).
Docs: https://docs.pytest.org/en/latest/mark.html#updating-code
yield (label_type, marker.args[0])
Activity
dstoianov commentedon Oct 23, 2018
same error
sseliverstov commentedon Oct 29, 2018
fixed in 2.5.3
deepjia commentedon Oct 31, 2018
Still got two warnings with allure-pytest-2.5.3 & pytest-3.8.2/pytest-3.9.3:
tsbxmw commentedon Nov 13, 2018
https://github.com/allure-framework/allure2/issues/862
bug fix of issue allure-framework#300 : RemovedInPytest4Warning
remove pytest warning (fixes allure-framework#300 via allure-framewor…
remove pytest warning (fixes allure-framework#300 via allure-framewor…
remove pytest warning (fixes allure-framework#300 via allure-framewor…
remove pytest warning (fixes allure-framework#300 via allure-framewor…