Skip to content

Commit

Permalink
Black formatting and linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgjarrett committed Oct 31, 2024
1 parent 844b3d7 commit 4bb047a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions armi/physics/neutronics/tests/test_crossSectionManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ def test_ComponentAverage1DCylinder(self):
def test_ComponentAverageDuctHet1DCylinder(self):
"""
Tests that the cross-section group manager calculates the expected component atom density,
component area, and average nuclide temperature correctly for a duct heterogeneous cylindrical
component area, and average nuclide temperature correctly for a duct heterogeneous cylindrical
block collection.
"""
self.o.cs[CONF_CROSS_SECTION]["ZA"].ductHeterogeneous = True
Expand Down Expand Up @@ -595,7 +595,7 @@ def test_ComponentAverageDuctHet1DCylinder(self):
self.assertGreater(
diff,
1.0,
f"{nuc} temperature matches expected value of {compTemp} for component {c} but they should be different",
f"{nuc} temperature should be different from {compTemp} for component {c}",
)

def test_checkComponentConsistency(self):
Expand Down
2 changes: 1 addition & 1 deletion armi/reactor/converters/tests/test_blockConverter.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def test_buildInsideDuct(self):
coolantMass = block.getComponent(Flags.COOLANT).getMass("NA")
self.assertAlmostEqual(insideBlock.getMass("U235"), block.getMass("U235"))
self.assertAlmostEqual(insideBlock.getMass("NA"), bondMass + coolantMass)
self.assertAlmostEqual(insideBlock.getArea(), ductIP ** 2 * math.sqrt(3)/2)
self.assertAlmostEqual(insideBlock.getArea(), ductIP**2 * math.sqrt(3) / 2)

def test_convert(self):
"""Test conversion with no fuel driver.
Expand Down

0 comments on commit 4bb047a

Please sign in to comment.