Add note about deprecating record_xml_property
Also make record_xml_property return record_property directly
This commit is contained in:
parent
8b49ddfa58
commit
d838193d2d
|
@ -250,7 +250,7 @@ def record_property(request):
|
|||
|
||||
|
||||
@pytest.fixture
|
||||
def record_xml_property(request):
|
||||
def record_xml_property(record_property):
|
||||
"""(Deprecated) use record_property."""
|
||||
import warnings
|
||||
from _pytest import deprecated
|
||||
|
@ -260,7 +260,7 @@ def record_xml_property(request):
|
|||
stacklevel=2
|
||||
)
|
||||
|
||||
return record_property(request)
|
||||
return record_property
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
``record_xml_property`` fixture is now deprecated in favor of the more generic ``record_property``.
|
Loading…
Reference in New Issue