Skip to content

Commit 15f8cc0

Browse files
authored
code inspector suggestion to reverse the ==
1 parent c1d5cb3 commit 15f8cc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_neutronics_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def test_create_inital_particles(self):
169169
number_of_source_particles=10
170170
)
171171

172-
assert "initial_source.h5" == source_file
172+
assert source_file == "initial_source.h5"
173173
assert Path(source_file).exists() is True
174174

175175
points = paramak.neutronics_utils.extract_points_from_initial_source(

0 commit comments

Comments
 (0)