From 70f4e3b128491be1cf3da4641f21f2211e4f6859 Mon Sep 17 00:00:00 2001 From: Jonathan Shimwell Date: Fri, 2 Aug 2024 00:33:55 +0100 Subject: [PATCH] tests passing locally --- tests/test_point_source.py | 2 +- tests/test_ring_source.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_point_source.py b/tests/test_point_source.py index 368272d..53fc42e 100644 --- a/tests/test_point_source.py +++ b/tests/test_point_source.py @@ -17,7 +17,7 @@ def test_creation(): 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) @pytest.mark.parametrize( diff --git a/tests/test_ring_source.py b/tests/test_ring_source.py index e7a0008..25e757a 100644 --- a/tests/test_ring_source.py +++ b/tests/test_ring_source.py @@ -17,7 +17,7 @@ def test_creation(): 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) @pytest.mark.parametrize("radius", [1, 5.6, 1e5, 7.0])