Skip to content

Commit 4d74d1e

Browse files
committed
Skip tests that cause fatal failures
1 parent 7085d72 commit 4d74d1e

File tree

2 files changed

+18
-12
lines changed

2 files changed

+18
-12
lines changed

tests/compile/function/test_types.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ def test_copy(self):
340340
# They should not be equal anymore
341341
assert not np.array_equal(f(1, 2), g(1, 2))
342342

343+
@pytest.mark.skip(reason="Causes fatal Python error in numba backend")
343344
def test_copy_share_memory(self):
344345
x = fscalar("x")
345346
# SharedVariable for tests, one of them has update

tests/tensor/rewriting/test_elemwise.py

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -895,21 +895,26 @@ def large_fuseable_graph(self, n):
895895
"float32",
896896
),
897897
# Multiple output cases # 72
898-
(
898+
pytest.param(
899899
(
900-
# sum(logp)
901-
pt_sum(-((fx - fy) ** 2) / 2),
902-
# grad(logp)
903-
pt.grad(pt_sum(-((fx - fy) ** 2) / 2), wrt=fx),
900+
(
901+
# sum(logp)
902+
pt_sum(-((fx - fy) ** 2) / 2),
903+
# grad(logp)
904+
pt.grad(pt_sum(-((fx - fy) ** 2) / 2), wrt=fx),
905+
),
906+
(fx, fy),
907+
(fxv, fyv),
908+
2,
909+
(
910+
np.sum(-((fxv - fyv) ** 2) / 2),
911+
-(fxv - fyv),
912+
),
913+
("float32", "float32"),
904914
),
905-
(fx, fy),
906-
(fxv, fyv),
907-
2,
908-
(
909-
np.sum(-((fxv - fyv) ** 2) / 2),
910-
-(fxv - fyv),
915+
marks=pytest.mark.skip(
916+
reason="Causes fatal Python error in numba backend"
911917
),
912-
("float32", "float32"),
913918
),
914919
# Two Composite graphs that share the same input, but are split by
915920
# a non-elemwise operation (Assert)

0 commit comments

Comments
 (0)