Skip to content

mypy: ignore pytato errors #104

mypy: ignore pytato errors

mypy: ignore pytato errors #104

Triggered via push November 28, 2024 14:47
Status Failure
Total duration 13m 22s
Artifacts

ci.yml

on: push
Matrix: downstream_tests
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 3 warnings
Pytest Conda Py3 POCL: test/test/test/test_arraycontext.py#L412
test_array_context_np_workalike[<PytatoPyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-sum-1-complex64] AssertionError: assert False + where False = <function allclose at 0x7f79946a85f0>(array(0.20294857-0.04821098j, dtype=complex64), np.complex64(0.2029438-0.048222065j)) + where <function allclose at 0x7f79946a85f0> = np.allclose + and array(0.20294857-0.04821098j, dtype=complex64) = to_numpy(IndexLambda(shape=(), dtype='complex64', expr=Reduce(Subscript(Variable('in'), (Variable('_r0'),)), <pytato.reductions..., data=TaggableCLArray(shape=(512,), dtype=complex64, tags=frozenset(), axes=(Axis(tags=frozenset()),)), shape=(512))})) + where to_numpy = <test_arraycontext._PytatoPyOpenCLArrayContextForTests object at 0x7f794e47fd80>.to_numpy + and IndexLambda(shape=(), dtype='complex64', expr=Reduce(Subscript(Variable('in'), (Variable('_r0'),)), <pytato.reductions..., data=TaggableCLArray(shape=(512,), dtype=complex64, tags=frozenset(), axes=(Axis(tags=frozenset()),)), shape=(512))}) = <function test_array_context_np_workalike.<locals>.evaluate at 0x7f794e4ae980>(<arraycontext.impl.pytato.fake_numpy.PytatoFakeNumpyNamespace object at 0x7f794e4f4050>, *[DataWrapper(axes=(Axis(tags=frozenset())), tags={}, non_equality_tags={}, data=TaggableCLArray(shape=(512,), dtype=complex64, tags=frozenset(), axes=(Axis(tags=frozenset()),)), shape=(512))]) + where <arraycontext.impl.pytato.fake_numpy.PytatoFakeNumpyNamespace object at 0x7f794e4f4050> = <test_arraycontext._PytatoPyOpenCLArrayContextForTests object at 0x7f794e47fd80>.np + and np.complex64(0.2029438-0.048222065j) = <function test_array_context_np_workalike.<locals>.evaluate at 0x7f794e4ae980>(np, *[array([ 1.22698104e+00-1.96739987e-01j, -1.60483971e-01+6.85535073e-01j,\n 6.10113859e-01+1.86244881e+00j, -2.5...e-01+9.29706573e-01j,\n 9.15596187e-01+1.24731588e+00j, 2.43732476e+00+7.14930177e-01j],\n dtype=complex64)])
Pytest Conda Py3 POCL
Process completed with exit code 1.
Tests for downstream project mirgecom_examples
No point in testing mirgecom at the moment, see https://github.com/illinois-ceesd/mirgecom/pull/898. Test not performed.
Tests for downstream project mirgecom
No point in testing mirgecom at the moment, see https://github.com/illinois-ceesd/mirgecom/pull/898. Test not performed.
Ruff
The `python-version` input is not set. The version of Python currently in `PATH` will be used.