Skip to content

Commit 9742f11

Browse files
committed
Removed unused warning message
1 parent 9c700d1 commit 9742f11

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/_pytest/deprecated.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,6 @@
4848
"See https://docs.pytest.org/en/latest/deprecations.html#result-log-result-log for more information."
4949
)
5050

51-
MARK_INFO_ATTRIBUTE = RemovedInPytest4Warning(
52-
"MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.\n"
53-
"Please use node.get_closest_marker(name) or node.iter_markers(name).\n"
54-
"Docs: https://docs.pytest.org/en/latest/mark.html#updating-code"
55-
)
56-
5751
RAISES_EXEC = PytestDeprecationWarning(
5852
"raises(..., 'code(as_a_string)') is deprecated, use the context manager form or use `exec()` directly\n\n"
5953
"See https://docs.pytest.org/en/latest/deprecations.html#raises-warns-exec"

0 commit comments

Comments
 (0)