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 Aug 1, 2024
1 parent 70f4e3b commit b7ead70
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions tests/test_point_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ def test_creation():
# Ensure it has space, angle, and energy set
assert isinstance(source.space, openmc.stats.Point)
assert isinstance(source.angle, openmc.stats.Isotropic)
assert isinstance(source.energy, openmc.stats.univariate.Normal) or isinstance(
source.energy, openmc.stats.univariate.Tabular
) or isinstance(source.energy, openmc.stats.Mixture)
assert (
isinstance(source.energy, openmc.stats.univariate.Normal)
or isinstance(source.energy, openmc.stats.univariate.Tabular)
or isinstance(source.energy, openmc.stats.Mixture)
)


@pytest.mark.parametrize(
Expand Down
8 changes: 5 additions & 3 deletions tests/test_ring_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ def test_creation():
# Ensure it has space, angle, and energy set
assert isinstance(source.space, openmc.stats.CylindricalIndependent)
assert isinstance(source.angle, openmc.stats.Isotropic)
assert isinstance(source.energy, openmc.stats.univariate.Normal) or isinstance(
source.energy, openmc.stats.univariate.Tabular
) or isinstance(source.energy, openmc.stats.Mixture)
assert (
isinstance(source.energy, openmc.stats.univariate.Normal)
or isinstance(source.energy, openmc.stats.univariate.Tabular)
or isinstance(source.energy, openmc.stats.Mixture)
)


@pytest.mark.parametrize("radius", [1, 5.6, 1e5, 7.0])
Expand Down

0 comments on commit b7ead70

Please sign in to comment.