Author zkrynicki
Recipients zkrynicki
Date 2015-03-04.09:27:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1425461221.82.0.715365961896.issue23581@psf.upfronthosting.co.za>
In-reply-to
Content
Hi. I'm the upstream of Padme, a mostly transparent proxy library for Python. I was adding support for the new matmul/@ operator when I noticed that MagicMock doens't support it yet.

>>> form unittest.mock import MagicMock
>>> MagicMock() @ 1
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for @: 'MagicMock' and 'int'

To add support simply add 'matmul' to unittest.mock.numerics.
History
Date User Action Args
2015-03-04 09:27:01zkrynickisetrecipients: + zkrynicki
2015-03-04 09:27:01zkrynickisetmessageid: <1425461221.82.0.715365961896.issue23581@psf.upfronthosting.co.za>
2015-03-04 09:27:01zkrynickilinkissue23581 messages
2015-03-04 09:27:01zkrynickicreate