diff --git a/tests/constants.py b/tests/constants.py index 66c4f706..2f4712b6 100644 --- a/tests/constants.py +++ b/tests/constants.py @@ -21,5 +21,5 @@ "testReadRec2.imcnp", "testReadRec3.imcnp", "testReadTarget.imcnp", - "bad_encoding.imcnp" + "bad_encoding.imcnp", } diff --git a/tests/test_integration.py b/tests/test_integration.py index 1da29c91..229ab40b 100644 --- a/tests/test_integration.py +++ b/tests/test_integration.py @@ -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" + )