diff --git a/tests/numpy/test_tracing.py b/tests/numpy/test_tracing.py index aa08ab00e..0b9b4c42b 100644 --- a/tests/numpy/test_tracing.py +++ b/tests/numpy/test_tracing.py @@ -259,94 +259,39 @@ def test_tracing_astype( def test_trace_numpy_supported_ufuncs(inputs, expected_output_node): """Function to trace supported numpy ufuncs""" + # Functions from tracing.NPTracer.LIST_OF_SUPPORTED_UFUNC, whose output + # is a float64, whatever the input type list_of_ufunc_whose_output_is_float64 = [ - # The commented functions are functions which don't work for the moment, often - # if not always because they require more than a single argument - # numpy.absolute, - # numpy.add, numpy.arccos, numpy.arccosh, numpy.arcsin, numpy.arcsinh, numpy.arctan, - # numpy.arctan2, numpy.arctanh, - # numpy.bitwise_and, - # numpy.bitwise_or, - # numpy.bitwise_xor, numpy.cbrt, numpy.ceil, - # numpy.conjugate, - # numpy.copysign, numpy.cos, numpy.cosh, numpy.deg2rad, numpy.degrees, - # numpy.divmod, - # numpy.equal, numpy.exp, numpy.exp2, numpy.expm1, numpy.fabs, - # numpy.float_power, numpy.floor, - # numpy.floor_divide, - # numpy.fmax, - # numpy.fmin, - # numpy.fmod, - # numpy.frexp, - # numpy.gcd, - # numpy.greater, - # numpy.greater_equal, - # numpy.heaviside, - # numpy.hypot, - # numpy.invert, - # numpy.isfinite, - # numpy.isinf, - # numpy.isnan, - # numpy.isnat, - # numpy.lcm, - # numpy.ldexp, - # numpy.left_shift, - # numpy.less, - # numpy.less_equal, numpy.log, numpy.log10, numpy.log1p, numpy.log2, - # numpy.logaddexp, - # numpy.logaddexp2, - # numpy.logical_and, - # numpy.logical_not, - # numpy.logical_or, - # numpy.logical_xor, - # numpy.matmul, - # numpy.maximum, - # numpy.minimum, - # numpy.modf, - # numpy.multiply, - # numpy.negative, - # numpy.nextafter, - # numpy.not_equal, - # numpy.positive, - # numpy.power, numpy.rad2deg, numpy.radians, - # numpy.reciprocal, - # numpy.remainder, - # numpy.right_shift, numpy.rint, - # numpy.sign, - # numpy.signbit, numpy.sin, numpy.sinh, numpy.spacing, numpy.sqrt, - # numpy.square, - # numpy.subtract, numpy.tan, numpy.tanh, - # numpy.true_divide, numpy.trunc, ]