Roy Williams added the comment: Hey Antti
My understanding is the version available on PyPi is now a strict backport of what's in Python 3, so they suggested filling the bug in bugs.python.org so it can be backported. http://lists.idyll.org/pipermail/testing-in-python/2016-September/006864.html Thanks, Roy On Sep 25, 2016 4:24 AM, "Antti Haapala" <rep...@bugs.python.org> wrote: > > Antti Haapala added the comment: > > So you mean that unittest.mock should explicitly set `__hash__ = None`; > but this is already what the unittest.mock does, in Python 3; there is no > need to set `__hash__ = None`; it is the backport that needs to do this in > order to stay compatible. There is no mock.py in 2.7. > > ---------- > nosy: +ztane > > _______________________________________ > Python tracker <rep...@bugs.python.org> > <http://bugs.python.org/issue28260> > _______________________________________ > ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28260> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com