New submission from Zygmunt Krynicki: 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. ---------- components: Library (Lib) messages: 237176 nosy: zkrynicki priority: normal severity: normal status: open title: unittest.mock.MagicMock doesn't support matmul (@) operator type: behavior versions: Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23581> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com