MCPcopy Index your code
hub / github.com/pyinvoke/invoke / pop

Method pop

tests/context.py:97–100  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

95 assert self.c.biz.get("nope", "hrm") == "hrm"
96
97 def pop(self):
98 assert self.c.pop("foo") == "bar"
99 assert self.c.pop("foo", "notbar") == "notbar"
100 assert self.c.biz.pop("baz") == "boz"
101
102 def popitem(self):
103 assert self.c.biz.popitem() == ("baz", "boz")

Callers 8

__init__Method · 0.45
support_pathFunction · 0.45
wrapperFunction · 0.45
_runFunction · 0.45
_runnerFunction · 0.45
_expect_responseMethod · 0.45
_test_mirroringMethod · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected