Skip to content

Commit 4f295e3

Browse files
committed
Rudimentary operator tests
1 parent ca2ef81 commit 4f295e3

File tree

2 files changed

+221
-203
lines changed

2 files changed

+221
-203
lines changed

array_api_tests/dtype_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,14 +341,14 @@ def result_type(*dtypes: DataType):
341341
'__ge__': 'greater_equal',
342342
'__gt__': 'greater',
343343
'__le__': 'less_equal',
344-
'__lshift__': 'bitwise_left_shift',
345344
'__lt__': 'less',
346345
# '__matmul__': 'matmul', # TODO: support matmul
347346
'__mod__': 'remainder',
348347
'__mul__': 'multiply',
349348
'__ne__': 'not_equal',
350349
'__or__': 'bitwise_or',
351350
'__pow__': 'pow',
351+
'__lshift__': 'bitwise_left_shift',
352352
'__rshift__': 'bitwise_right_shift',
353353
'__sub__': 'subtract',
354354
'__truediv__': 'divide',

0 commit comments

Comments
 (0)