Skip to content

Commit 594d433

Browse files
committed
Mark scalar downcast as failing
1 parent 72878ea commit 594d433

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/link/numba/test_scalar.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,11 @@ def test_Composite(inputs, input_values, scalar_fn):
100100
"v, dtype",
101101
[
102102
((pt.fscalar(), np.array(1.0, dtype="float32")), psb.float64),
103-
((pt.dscalar(), np.array(1.0, dtype="float64")), psb.float32),
103+
pytest.param(
104+
(pt.dscalar(), np.array(1.0, dtype="float64")),
105+
psb.float32,
106+
marks=pytest.mark.xfail(reason="Downcasting is not working"),
107+
),
104108
],
105109
)
106110
def test_Cast(v, dtype):

0 commit comments

Comments
 (0)