Skip to content

Commit 32192c3

Browse files
committed
Skip failing tests on nightly
1 parent 0e6e835 commit 32192c3

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

tests/test_bcs.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ def right_facets(x):
1919
dolfinx.mesh.CellType.tetrahedron,
2020
],
2121
)
22-
@pytest.mark.xfail(reason="Update in expression in dolfinx")
22+
@pytest.mark.skipif(
23+
condition=dolfinx.__version__ == "0.11.0.dev0",
24+
reason="Update in expression in dolfinx",
25+
)
2326
def test_normal_enforcement(cell_type: dolfinx.mesh.CellType):
2427
tdim = dolfinx.mesh.cell_dim(cell_type)
2528
if tdim == 2:
@@ -49,7 +52,10 @@ def test_normal_enforcement(cell_type: dolfinx.mesh.CellType):
4952
@pytest.mark.parametrize(
5053
"cell_type", [dolfinx.mesh.CellType.triangle, dolfinx.mesh.CellType.quadrilateral]
5154
)
52-
@pytest.mark.xfail(reason="Update in expression in dolfinx")
55+
@pytest.mark.skipif(
56+
condition=dolfinx.__version__ == "0.11.0.dev0",
57+
reason="Update in expression in dolfinx",
58+
)
5359
def test_tangent_enforcement(cell_type: dolfinx.mesh.CellType):
5460
tdim = dolfinx.mesh.cell_dim(cell_type)
5561
if tdim == 2:

0 commit comments

Comments
 (0)