From d5fd068735c8d336523643d3f4a5bba89def31e0 Mon Sep 17 00:00:00 2001 From: rettigl Date: Sun, 24 Sep 2023 01:26:38 +0200 Subject: [PATCH] ignore typing at raising line --- tests/test_processor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_processor.py b/tests/test_processor.py index 4ce8460e..b458ce2a 100644 --- a/tests/test_processor.py +++ b/tests/test_processor.py @@ -484,7 +484,7 @@ def test_energy_calibration_workflow(energy_scale: str, calibration_method: str) assert len(processor.ec.biases) == 2 # load data as tuple with pytest.raises(ValueError): - processor.load_bias_series(binned_data=(tof, traces)) + processor.load_bias_series(binned_data=(tof, traces)) # type: ignore processor.load_bias_series(binned_data=(tof, biases, traces)) assert processor.ec.traces.shape == traces.shape assert len(processor.ec.biases) == processor.ec.traces.shape[0]