Skip to content

Commit

Permalink
Reformmated tests with black.
Browse files Browse the repository at this point in the history
  • Loading branch information
MicahGale committed Jan 17, 2024
1 parent 0dc5656 commit 2e4edb1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
"testReadRec2.imcnp",
"testReadRec3.imcnp",
"testReadTarget.imcnp",
"bad_encoding.imcnp"
"bad_encoding.imcnp",
}
8 changes: 6 additions & 2 deletions tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -1034,5 +1034,9 @@ def test_expansion_warning_crash(self):

def test_alternate_encoding(self):
with self.assertRaises(UnicodeDecodeError):
problem = montepy.read_input(os.path.join("tests", "inputs", "bad_encoding.imcnp"))
problem = montepy.read_input(os.path.join("tests", "inputs", "bad_encoding.imcnp"), encoding="cp1252")
problem = montepy.read_input(
os.path.join("tests", "inputs", "bad_encoding.imcnp")
)
problem = montepy.read_input(
os.path.join("tests", "inputs", "bad_encoding.imcnp"), encoding="cp1252"
)

0 comments on commit 2e4edb1

Please sign in to comment.