Skip to content

Commit cbbca40

Browse files
committed
Remove conditionals from test_bdry_restriction_is_permutation
1 parent 48728e8 commit cbbca40

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

test/test_connection.py

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -101,20 +101,8 @@ def test_bdry_restriction_is_permutation(actx_factory, group_factory, dim, order
101101

102102
assert connection_is_permutation(actx, bdry_connection)
103103

104-
is_lgl = group_factory is LegendreGaussLobattoTensorProductGroupFactory
105-
106-
# FIXME: This should pass unconditionally
107-
should_pass = (
108-
(dim == 3 and order < 2)
109-
or (dim == 2 and not is_lgl)
110-
or (dim == 2 and is_lgl and order < 4)
111-
)
112-
113-
if should_pass:
114-
opp_face = make_opposite_face_connection(actx, bdry_connection)
115-
assert connection_is_permutation(actx, opp_face)
116-
else:
117-
pytest.xfail("https://github.com/inducer/meshmode/pull/105")
104+
opp_face = make_opposite_face_connection(actx, bdry_connection)
105+
assert connection_is_permutation(actx, opp_face)
118106

119107

120108
if __name__ == "__main__":

0 commit comments

Comments
 (0)