Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/python/cpython
/ foo
Method
foo
Lib/test/test_unittest/testmock/testhelpers.py:454–454 ·
view source on GitHub ↗
(a, *, b=None)
Source
from the content-addressed store, hash-verified
452
453
def
test_create_autospec_keyword_only_arguments(self):
454
def
foo(a, *, b=None):
pass
455
456
m = create_autospec(foo)
457
m(1)
Callers
8
test_repr
Method · 0.45
test_attribute_call
Method · 0.45
test_extended_call
Method · 0.45
test_nested_calls_not_equal
Method · 0.45
test_dunder_call
Method · 0.45
test_mocking_unbound_methods
Method · 0.45
test_create_autospec_none
Method · 0.45
test_call_list_str
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected