[issue25597] unittest.mock does not wrap dunder methods (__getitem__ etc)

Robert Collins report at bugs.python.org
Tue Mar 15 19:11:30 EDT 2016


Robert Collins added the comment:

I think this is a valid mock bug; it likely needs some thoughtful exhaustive testing, and obviously support added for it.

----------
stage:  -> test needed
title: unittest.mock does not wrap dict objects correctly -> unittest.mock does not wrap dunder methods (__getitem__ etc)

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25597>
_______________________________________


More information about the Python-bugs-list mailing list