@pytest.mark.xfail(reason="Assembling directly into mixed mats unsupported")
    def test_assemble_mixed_mat(self, backend, mat):
        eps = 1.e-12
        assert_allclose(mat[0, 0].values, np.diag([1.0, 4.0, 9.0]), eps)
        assert_allclose(mat[0, 1].values, self.od, eps)
        assert_allclose(mat[1, 0].values, self.od.T, eps)
        assert_allclose(mat[1, 1].values, self.ll, eps)
Assemble into a matrix declared on a mixed sparsity.
dataset/ETHPy150Open OP2/PyOP2/test/unit/test_matrices.py/TestMixedMatrices.test_assemble_mixed_mat