From 5f7ae58351a25aa52f3a43ed87eadf3340089d4d Mon Sep 17 00:00:00 2001 From: Nicholas Devenish Date: Mon, 23 Jan 2023 15:35:22 +0000 Subject: [PATCH] Ignore trusted-range in dxtbx.average test This behaviour has changed in cctbx, however has not been backported to the release. --- tests/command_line/test_average.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/command_line/test_average.py b/tests/command_line/test_average.py index c18c8985c..833658b6e 100644 --- a/tests/command_line/test_average.py +++ b/tests/command_line/test_average.py @@ -32,5 +32,5 @@ def test_average(dials_data, tmp_path, use_mpi): h5 = dxtbx.load(data).get_detector() cbf = dxtbx.load(tmp_path / "avg.cbf").get_detector() - assert h5.is_similar_to(cbf) + assert h5.is_similar_to(cbf, ignore_trusted_range=True) assert h5[0].get_gain() == cbf[0].get_gain()