tests/basics: Add test for matmul operator.
This is a Python 3.5 feature so the .exp file is needed.
This commit is contained in:
parent
2069c563f9
commit
fe4e1fe4b9
|
@ -111,6 +111,7 @@ except TypeError:
|
|||
-cud1
|
||||
~cud1
|
||||
cud1 * cud2
|
||||
cud1 @ cud2
|
||||
cud1 / cud2
|
||||
cud2 // cud1
|
||||
cud1 += cud2
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
__pos__ called
|
||||
__pos__ called
|
||||
__neg__ called
|
||||
__invert__ called
|
||||
__mul__ called
|
||||
__matmul__ called
|
||||
__truediv__ called
|
||||
__floordiv__ called
|
||||
__iadd__ called
|
||||
__isub__ called
|
||||
__mod__ called
|
||||
__pow__ called
|
||||
__or__ called
|
||||
__and__ called
|
||||
__xor__ called
|
||||
__lshift__ called
|
||||
__rshift__ called
|
||||
['a', 'b', 'c']
|
||||
False
|
Loading…
Reference in New Issue