Skip to content

Commit

Permalink
ignore typing at raising line
Browse files Browse the repository at this point in the history
  • Loading branch information
rettigl committed Sep 23, 2023
1 parent 01502fb commit d5fd068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit d5fd068

Please sign in to comment.