Skip to content

Commit fcdadee

Browse files
committed
Fix some dictionary key mismatches in the array API tests
1 parent d74a7d0 commit fcdadee

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

numpy/array_api/tests/test_elementwise_functions.py

+27-27
Original file line numberDiff line numberDiff line change
@@ -17,27 +17,27 @@ def test_function_types():
1717

1818
elementwise_function_input_types = {
1919
'abs': 'numeric',
20-
'acos': 'floating',
21-
'acosh': 'floating',
20+
'acos': 'floating-point',
21+
'acosh': 'floating-point',
2222
'add': 'numeric',
23-
'asin': 'floating',
24-
'asinh': 'floating',
25-
'atan': 'floating',
26-
'atan2': 'floating',
27-
'atanh': 'floating',
28-
'bitwise_and': 'integer_or_boolean',
29-
'bitwise_invert': 'integer_or_boolean',
23+
'asin': 'floating-point',
24+
'asinh': 'floating-point',
25+
'atan': 'floating-point',
26+
'atan2': 'floating-point',
27+
'atanh': 'floating-point',
28+
'bitwise_and': 'integer or boolean',
29+
'bitwise_invert': 'integer or boolean',
3030
'bitwise_left_shift': 'integer',
31-
'bitwise_or': 'integer_or_boolean',
31+
'bitwise_or': 'integer or boolean',
3232
'bitwise_right_shift': 'integer',
33-
'bitwise_xor': 'integer_or_boolean',
33+
'bitwise_xor': 'integer or boolean',
3434
'ceil': 'numeric',
35-
'cos': 'floating',
36-
'cosh': 'floating',
37-
'divide': 'floating',
35+
'cos': 'floating-point',
36+
'cosh': 'floating-point',
37+
'divide': 'floating-point',
3838
'equal': 'all',
39-
'exp': 'floating',
40-
'expm1': 'floating',
39+
'exp': 'floating-point',
40+
'expm1': 'floating-point',
4141
'floor': 'numeric',
4242
'floor_divide': 'numeric',
4343
'greater': 'numeric',
@@ -47,11 +47,11 @@ def test_function_types():
4747
'isnan': 'numeric',
4848
'less': 'numeric',
4949
'less_equal': 'numeric',
50-
'log': 'floating',
51-
'logaddexp': 'floating',
52-
'log10': 'floating',
53-
'log1p': 'floating',
54-
'log2': 'floating',
50+
'log': 'floating-point',
51+
'logaddexp': 'floating-point',
52+
'log10': 'floating-point',
53+
'log1p': 'floating-point',
54+
'log2': 'floating-point',
5555
'logical_and': 'boolean',
5656
'logical_not': 'boolean',
5757
'logical_or': 'boolean',
@@ -60,17 +60,17 @@ def test_function_types():
6060
'negative': 'numeric',
6161
'not_equal': 'all',
6262
'positive': 'numeric',
63-
'pow': 'floating',
63+
'pow': 'floating-point',
6464
'remainder': 'numeric',
6565
'round': 'numeric',
6666
'sign': 'numeric',
67-
'sin': 'floating',
68-
'sinh': 'floating',
69-
'sqrt': 'floating',
67+
'sin': 'floating-point',
68+
'sinh': 'floating-point',
69+
'sqrt': 'floating-point',
7070
'square': 'numeric',
7171
'subtract': 'numeric',
72-
'tan': 'floating',
73-
'tanh': 'floating',
72+
'tan': 'floating-point',
73+
'tanh': 'floating-point',
7474
'trunc': 'numeric',
7575
}
7676

0 commit comments

Comments
 (0)