Skip to content

Commit

Permalink
tests: fix black formatting from pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Arun Persaud committed Sep 29, 2024
1 parent 956ee39 commit f61f840
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_inp.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ def test_invalid_number(self, surfaces):
number, transform, mnemonic, entries = surface

with pytest.raises(errors.MCNPSemanticError) as err:
Surface.from_mcnp(f"{number} {transform} {mnemonic} {" ".join([str(entry) for entry in entries])}")
Surface.from_mcnp(f"{number} {transform} {mnemonic} {' '.join([str(entry) for entry in entries])}")

assert err.value.code == errors.MCNPSemanticCodes.INVALID_SURFACE_NUMBER

Expand All @@ -454,7 +454,7 @@ def test_invalid_transformPeriodic(self, surfaces):
number, transform, mnemonic, entries = surface

with pytest.raises(errors.MCNPSemanticError) as err:
Surface.from_mcnp(f"{number} {transform} {mnemonic} {" ".join([str(entry) for entry in entries])}")
Surface.from_mcnp(f"{number} {transform} {mnemonic} {' '.join([str(entry) for entry in entries])}")

assert err.value.code == errors.MCNPSemanticCodes.INVALID_SURFACE_TRANSFORMPERIODIC

Expand All @@ -469,7 +469,7 @@ def test_invalid_mnemonic(self, surfaces):
number, transform, mnemonic, entries = surface

with pytest.raises(errors.MCNPSemanticError) as err:
Surface.from_mcnp(f"{number} {transform} {mnemonic} {" ".join([str(entry) for entry in entries])}")
Surface.from_mcnp(f"{number} {transform} {mnemonic} {' '.join([str(entry) for entry in entries])}")

assert err.value.code == errors.MCNPSemanticCodes.INVALID_SURFACE_MNEMONIC

Expand Down

0 comments on commit f61f840

Please sign in to comment.