Home | History | Annotate | Download | only in test

Lines Matching refs:new_callable

1071             spec_set, autospec, new_callable, kwargs
1073 if new_callable is not None:
1076 "Cannot use 'new' and 'new_callable' together"
1080 "Cannot use 'autospec' and 'new_callable' together"
1086 self.new_callable = new_callable
1100 self.autospec, self.new_callable, self.kwargs
1197 new_callable = self.new_callable
1240 if new_callable is not None:
1241 Klass = new_callable
1372 new_callable=None, **kwargs
1380 `autospec` and `new_callable` have the same meaning as for `patch`. Like
1390 spec_set, autospec, new_callable, kwargs
1395 autospec=None, new_callable=None, **kwargs):
1410 `autospec` and `new_callable` have the same meaning as for `patch`. These
1430 autospec, new_callable, {}
1436 autospec, new_callable, {}
1445 spec_set=None, autospec=None, new_callable=None, **kwargs
1471 `new_callable` allows you to specify a different class, or callable object,
1507 the `Mock` (or `new_callable`) on construction.
1515 spec_set, autospec, new_callable, kwargs