New submission from Zygmunt Krynicki:

Hey.

I'm the upstream developer of padme https://github.com/zyga/padme -- the mostly 
transparent proxy class for Python. While working on unit tests for proxying 
numeric methods I realized that there are a few bugs in the mock library.

The bug I'd like to report now is that __truemod__ cannot be mocked by 
MagicMock but __div__ can (despite __div__ being gone from Python 3 entirely). 
This bug is specific to Python 3.3 and it is fixed in 3.4 and 3.5a1

----------
messages: 237113
nosy: zkrynicki
priority: normal
severity: normal
status: open
title: unittest.mock.MagicMock.__div__ works  but  __truediv__ doesn't (3.3 
only)
type: behavior
versions: Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23569>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to