Skip to content

Commit

Permalink
xfail tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mtsokol committed May 7, 2024
1 parent 9f418fc commit 96da940
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ filterwarnings =
testpaths =
finch
junit_family=xunit2
xfail_strict=true
6 changes: 4 additions & 2 deletions tests/test_indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,10 @@ def test_indexing_2d(arr2d, index, order):
(slice(None, -1, 1), slice(-1, None, -1), slice(4, 1, -1)),
(-1, 0, 0), (0, -1, -2), ([1, 2], 0, slice(3, None, -1)),
(0, slice(1, 0, -1), 0), (slice(None), None, slice(None), slice(None)),
# https://github.com/willow-ahrens/Finch.jl/issues/528
# (slice(None), slice(None), slice(None), None),
pytest.param(
(slice(None), slice(None), slice(None), None),
marks=pytest.mark.xfail(reason="https://github.com/willow-ahrens/Finch.jl/issues/528"),
),
]
)
@pytest.mark.parametrize(
Expand Down
1 change: 1 addition & 0 deletions tests/test_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def test_eager(arr3d):
assert_equal(result.todense(), np.multiply(arr3d, arr2d))


@pytest.mark.xfail(reason="https://github.com/willow-ahrens/Finch.jl/issues/524")
def test_lazy_mode(arr3d):
A_finch = finch.Tensor(arr3d)
B_finch = finch.Tensor(arr2d)
Expand Down

0 comments on commit 96da940

Please sign in to comment.