Skip to content

Commit dedaad4

Browse files
committed
Fix failing Python test
1 parent d0cfb35 commit dedaad4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pineappl_py/tests/test_grid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ def test_incosistent_convolutions(
376376
xfxs=[pdf.polarized_pdf], # Requires ONE single PDF
377377
alphas=pdf.alphasQ,
378378
)
379-
assert "called `Option::unwrap()` on a `None` value" == str(err_func.value)
379+
assert "couldn't match Conv { conv_type: UnpolPDF, pid: 2212 } with a convolution function from cache [Conv { conv_type: PolPDF, pid: 2212 }]" == str(err_func.value)
380380

381381
@pytest.mark.parametrize("params,expected", TESTING_SPECS)
382382
def test_toy_convolution(self, fake_grids, params, expected):

0 commit comments

Comments
 (0)