Lines Matching refs:unsafe
439 _spec_as_instance=False, _eat_self=None, unsafe=False, **kwargs
470 __dict__['_mock_unsafe'] = unsafe
1237 * `unsafe`: By default, accessing any attribute whose name starts with
1239 AttributeError. Passing `unsafe=True` will allow access to
1268 f"{typo!r} might be a typo; use unsafe=True if this is intended"
1279 spec_set, autospec, new_callable, kwargs, *, unsafe=False
1290 if not unsafe:
1620 new_callable=None, *, unsafe=False, **kwargs
1642 spec_set, autospec, new_callable, kwargs, unsafe=unsafe
1697 spec_set=None, autospec=None, new_callable=None, *, unsafe=False, **kwargs
1760 the arguments autospec and spec_set. Pass the argument `unsafe` with the
1773 spec_set, autospec, new_callable, kwargs, unsafe=unsafe
2653 _name=None, *, unsafe=False, **kwargs):
2671 `unsafe` with the value True to disable that check.
2693 if not unsafe: