MCPcopy Create free account
hub / github.com/pytest-dev/pytest / update

Method update

src/_pytest/mark/structures.py:570–576  ·  view source on GitHub ↗
(  # type: ignore[override]
        self,
        other: Union[Mapping[str, Any], Iterable[Tuple[str, Any]]] = (),
        **kwds: Any,
    )

Source from the content-addressed store, hash-verified

568 )
569
570 def update( # type: ignore[override]
571 self,
572 other: Union[Mapping[str, Any], Iterable[Tuple[str, Any]]] = (),
573 **kwds: Any,
574 ) -> None:
575 self._markers.update(other)
576 self._markers.update(kwds)
577
578 def __delitem__(self, key: str) -> None:
579 raise ValueError("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
pytest_collectreportMethod · 0.80
setupMethod · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80

Calls

no outgoing calls

Tested by 4

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