MCPcopy
hub / github.com/pytest-dev/pytest / update

Method update

src/_pytest/mark/structures.py:670–676  ·  src/_pytest/mark/structures.py::NodeKeywords.update
(  # type: ignore[override]
        self,
        other: Mapping[str, Any] | Iterable[tuple[str, Any]] = (),
        **kwds: Any,
    )

Source from the content-addressed store, hash-verified

668 )
669
670 def update( class="cm"># type: ignore[override]
671 self,
672 other: Mapping[str, Any] | Iterable[tuple[str, Any]] = (),
673 **kwds: Any,
674 ) -> None:
675 self._markers.update(other)
676 self._markers.update(kwds)
677
678 def __delitem__(self, key: str) -> None:
679 raise ValueError(class="st">"cannot delete key in keywords dict")

Callers 15

merge_familyFunction · 0.80
record_testreportMethod · 0.80
pytest_internalerrorMethod · 0.80
evaluate_conditionFunction · 0.80
__init__Method · 0.80
restoreMethod · 0.80
get_last_failed_pathsMethod · 0.80
pytest_collectreportMethod · 0.80
setupMethod · 0.80
__init__Method · 0.80

Calls

no outgoing calls

Tested by 5

__init__Method · 0.64
restoreMethod · 0.64
setupMethod · 0.64
__init__Method · 0.64
getmsgFunction · 0.64