[New-bugs-announce] [issue32644] unittest.mock.call len() error
Snakevil
report at bugs.python.org
Wed Jan 24 01:52:38 EST 2018
New submission from Snakevil <zsnakevil at gmail.com>:
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 <report at bugs.python.org>
<https://bugs.python.org/issue32644>
_______________________________________
More information about the New-bugs-announce
mailing list