[issue32092] mock.patch with autospec does not consume self / cls argument

2019-10-28 Thread Phil Connell
Change by Phil Connell : -- nosy: +pconnell ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue32092] mock.patch with autospec does not consume self / cls argument

2019-09-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +cjw296, lisroach, mariocj89, xtreak versions: +Python 3.9 -Python 2.7 ___ Python tracker ___

[issue32092] mock.patch with autospec does not consume self / cls argument

2018-05-21 Thread Cheryl Sabella
Change by Cheryl Sabella : -- nosy: +michael.foord versions: -Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mai

[issue32092] mock.patch with autospec does not consume self / cls argument

2017-11-20 Thread Claudiu Belu
Change by Claudiu Belu : -- keywords: +patch pull_requests: +4412 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue32092] mock.patch with autospec does not consume self / cls argument

2017-11-20 Thread Claudiu Belu
Claudiu Belu added the comment: Currently, the autospec=True argument can be passed to mock.patch, but when trying to make assertions on the call and its arguments, it can fail, as it expects an instance / class instance reference as the first argument (self / cls arguments are not consumed w

[issue32092] mock.patch with autospec does not consume self / cls argument

2017-11-20 Thread Claudiu Belu
Change by Claudiu Belu : -- components: +Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue32092] mock.patch with autospec does not consume self / cls argument

2017-11-20 Thread Claudiu Belu
Change by Claudiu Belu : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue32092] mock.patch with autospec does not consume self / cls argument

2017-11-20 Thread Claudiu Belu
New submission from Claudiu Belu : Currently, the autospec=True argument can be passed to mock.patch, but when trying to make assertions on the call and its arguments, it can fail, as it expects an instance / class instance reference as the first argument (self / cls arguments are not consumed