MCPcopy 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_reprMethod · 0.45
test_attribute_callMethod · 0.45
test_extended_callMethod · 0.45
test_dunder_callMethod · 0.45
test_call_list_strMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected