Test that cell mismatch raises early enough from UFL.
(mesh)
| 248 | |
| 249 | |
| 250 | def test_cell_mismatch(mesh): |
| 251 | """Test that cell mismatch raises early enough from UFL.""" |
| 252 | e = element("P", "triangle", 1, dtype=default_real_type) |
| 253 | with pytest.raises(BaseException): |
| 254 | functionspace(mesh, e) |
| 255 | |
| 256 | |
| 257 | @pytest.mark.skipif(default_real_type != np.float64, reason="float32 not supported yet") |
nothing calls this directly
no test coverage detected