Skip to content

Commit

Permalink
[skip ci] Apply formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
shimwell authored and github-actions[bot] committed Feb 29, 2024
1 parent 58768e0 commit d306e90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_units.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def test_plot_with_energy_filters(model):
with openmc.StatePoint(sp_filename) as statepoint:
tally_result_1 = statepoint.get_tally(name="mesh_tally")

with pytest.raises(ValueError) as excinfo:
with pytest.raises(ValueError) as excinfo:
plot_mesh_tally(tally=tally_result_1)
msg = (
"An EnergyFilter was found on the tally with more "
Expand All @@ -226,7 +226,7 @@ def test_plot_with_energy_filters(model):
"bin are unsupported"
)
assert str(excinfo.value) == msg

energy_filter = openmc.EnergyFilter([0, 2e6])
mesh_tally_1.filters = [mesh_filter, energy_filter]

Expand Down

0 comments on commit d306e90

Please sign in to comment.