Message237176
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. |
|
Date |
User |
Action |
Args |
2015-03-04 09:27:01 | zkrynicki | set | recipients:
+ zkrynicki |
2015-03-04 09:27:01 | zkrynicki | set | messageid: <1425461221.82.0.715365961896.issue23581@psf.upfronthosting.co.za> |
2015-03-04 09:27:01 | zkrynicki | link | issue23581 messages |
2015-03-04 09:27:01 | zkrynicki | create | |
|