New submission from Snakevil <[email protected]>:
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 not 3 as expected.
----------
components: Tests
messages: 310565
nosy: snakevil
priority: normal
severity: normal
status: open
title: unittest.mock.call len() error
type: behavior
versions: Python 3.6
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue32644>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com