[issue32644] unittest.mock.call len() error

2019-06-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: call objects inherit from tuple and here the reported argument is a dict with 3 items returning len of 3. I am closing this as part of triaging since there is no additional information from @snakevil on reproducing this. Feel free to reopen this if

[issue32644] unittest.mock.call len() error

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue32644] unittest.mock.call len() error

2018-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Please either upload or include in a post a minimal testcase that reproduces the problem. We can neither debug the problem or know if we fix it without one. -- nosy: +michael.foord, terry.reedy ___ Python tracker

[issue32644] unittest.mock.call len() error

2018-01-23 Thread Snakevil
New submission from Snakevil : In some testcase, an instance of unittest.mock.call was generated as: call('solution', 'foo', {'__spots__': {}, '__event__': None, '__solution__': None}) The third argument is an instance of a derived component from dict. In this issue, result of len() is 2 but