Skip to content

Commit

Permalink
added xfail for pre-compute in density tests
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Papior <nickpapior@gmail.com>
  • Loading branch information
zerothi committed Jul 31, 2024
1 parent 9f302e7 commit 1079594
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/sisl/physics/tests/test_density_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,18 @@ def func(D, ia, atoms, atoms_xyz):
return t()


@pytest.fixture(scope="module", params=["direct", "pre-compute"])
@pytest.fixture(
scope="module",
params=[
"direct",
pytest.param(
"pre-compute",
marks=pytest.mark.xfail(
reason="raises NotImplementedError due to seg-fault"
),
),
],
)
def density_method(request):
return request.param

Expand Down

0 comments on commit 1079594

Please sign in to comment.