Fix some dictionary key mismatches in the array API tests
@@ -17,27 +17,27 @@ def test_function_types():
elementwise_function_input_types = {
'abs': 'numeric',
- 'acos': 'floating',
- 'acosh': 'floating',
+ 'acos': 'floating-point',
+ 'acosh': 'floating-point',
'add': 'numeric',
- 'asin': 'floating',
- 'asinh': 'floating',
- 'atan': 'floating',
- 'atan2': 'floating',
- 'atanh': 'floating',
- 'bitwise_and': 'integer_or_boolean',
- 'bitwise_invert': 'integer_or_boolean',
+ 'asin': 'floating-point',
+ 'asinh': 'floating-point',
+ 'atan': 'floating-point',
+ 'atan2': 'floating-point',
+ 'atanh': 'floating-point',
+ 'bitwise_and': 'integer or boolean',
+ 'bitwise_invert': 'integer or boolean',
'bitwise_left_shift': 'integer',
- 'bitwise_or': 'integer_or_boolean',
+ 'bitwise_or': 'integer or boolean',
'bitwise_right_shift': 'integer',
- 'bitwise_xor': 'integer_or_boolean',
+ 'bitwise_xor': 'integer or boolean',
'ceil': 'numeric',
- 'cos': 'floating',
- 'cosh': 'floating',
- 'divide': 'floating',
+ 'cos': 'floating-point',
+ 'cosh': 'floating-point',
+ 'divide': 'floating-point',
'equal': 'all',
- 'exp': 'floating',
- 'expm1': 'floating',
+ 'exp': 'floating-point',
+ 'expm1': 'floating-point',
'floor': 'numeric',
'floor_divide': 'numeric',
'greater': 'numeric',
@@ -47,11 +47,11 @@ def test_function_types():
'isnan': 'numeric',
'less': 'numeric',
'less_equal': 'numeric',
- 'log': 'floating',
- 'logaddexp': 'floating',
- 'log10': 'floating',
- 'log1p': 'floating',
- 'log2': 'floating',
+ 'log': 'floating-point',
+ 'logaddexp': 'floating-point',
+ 'log10': 'floating-point',
+ 'log1p': 'floating-point',
+ 'log2': 'floating-point',
'logical_and': 'boolean',
'logical_not': 'boolean',
'logical_or': 'boolean',
@@ -60,17 +60,17 @@ def test_function_types():
'negative': 'numeric',
'not_equal': 'all',
'positive': 'numeric',
- 'pow': 'floating',
+ 'pow': 'floating-point',
'remainder': 'numeric',
'round': 'numeric',
'sign': 'numeric',
- 'sin': 'floating',
- 'sinh': 'floating',
- 'sqrt': 'floating',
+ 'sin': 'floating-point',
+ 'sinh': 'floating-point',
+ 'sqrt': 'floating-point',
'square': 'numeric',
'subtract': 'numeric',
- 'tan': 'floating',
- 'tanh': 'floating',
+ 'tan': 'floating-point',
+ 'tanh': 'floating-point',
'trunc': 'numeric',
}
