From 2e4edb1837a56e0e995c5bb4505ee36c39b3584b Mon Sep 17 00:00:00 2001 From: "Micah D. Gale" Date: Wed, 17 Jan 2024 12:07:01 -0600 Subject: [PATCH] Reformmated tests with black. --- tests/constants.py | 2 +- tests/test_integration.py | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) 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" + )