Searched refs:set_spec (Results 1 - 1 of 1) sorted by relevance
/third_party/python/Lib/unittest/test/testmock/ |
H A D | testmock.py | 44 set_spec = None variable in Typos 2244 with patch(f'{__name__}.Something.meth', set_spec=True): pass 2246 with patch.object(Foo, 'one', set_spec=True): pass 2248 m = create_autospec(Foo, set_spec=True) 2260 f'{__name__}.Something', meth=DEFAULT, set_spec=True): pass 2268 with patch(f'{__name__}.Something.meth', unsafe=True, set_spec=True): 2270 with patch.object(Foo, 'one', unsafe=True, set_spec=True): pass 2271 m = create_autospec(Foo, set_spec=True, unsafe=True) 2273 f'{__name__}.Typos', autospect=True, set_spec=True, auto_spec=True):
|
Completed in 3 milliseconds