diff --git a/tests/helpers/patches/_check.py b/tests/helpers/patches/_check.py index e72e81d05..64506ec1a 100644 --- a/tests/helpers/patches/_check.py +++ b/tests/helpers/patches/_check.py @@ -344,7 +344,11 @@ def _run(self): bench_process = read_pkl(benchmark_filename(self), base_directory=self.base_directory) # Compare the inputs - assert bench_process.inputs == self.inputs + if not bench_process.inputs == self.inputs: + utils.warn(f'Inputs for {self.prefix} differ from the benchmark') + utils.warn(f'Inputs: {self.inputs}') + utils.warn(f'Benchmark inputs: {bench_process.inputs}') + raise ValueError() unpatched_run(self)