summaryrefslogtreecommitdiff
path: root/numpy/array_api/tests/test_elementwise_functions.py
diff options
context:
space:
mode:
authorAaron Meurer <asmeurer@gmail.com>2021-08-06 16:09:23 -0600
committerAaron Meurer <asmeurer@gmail.com>2021-08-06 16:09:23 -0600
commitfcdadee7815cbb72a1036c0ef144d73e916eae6d (patch)
tree064c327cb875c044908d569e969a8b26c05ffd9b /numpy/array_api/tests/test_elementwise_functions.py
parentd74a7d0b3297e10194bd3899a0d17a63610e49a1 (diff)
downloadnumpy-fcdadee7815cbb72a1036c0ef144d73e916eae6d.tar.gz
Fix some dictionary key mismatches in the array API tests
Diffstat (limited to 'numpy/array_api/tests/test_elementwise_functions.py')
-rw-r--r--numpy/array_api/tests/test_elementwise_functions.py54
1 files changed, 27 insertions, 27 deletions
diff --git a/numpy/array_api/tests/test_elementwise_functions.py b/numpy/array_api/tests/test_elementwise_functions.py
index 2a5ddbc87..ec76cb7a7 100644
--- a/numpy/array_api/tests/test_elementwise_functions.py
+++ b/numpy/array_api/tests/test_elementwise_functions.py
@@ -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',
}