From e8feb46178508ce5f56eb77df7206cf2b62c9833 Mon Sep 17 00:00:00 2001 From: t7phy Date: Wed, 5 Apr 2023 00:53:16 +0200 Subject: [PATCH] tests formatting --- validphys2/src/validphys/tests/test_commondata_utils.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/validphys2/src/validphys/tests/test_commondata_utils.py b/validphys2/src/validphys/tests/test_commondata_utils.py index 80b85302d7..157a5f74ff 100644 --- a/validphys2/src/validphys/tests/test_commondata_utils.py +++ b/validphys2/src/validphys/tests/test_commondata_utils.py @@ -64,8 +64,10 @@ def test_concat_matrices(): 12, 15, 16, 17, 18, 21, 22, 19, 20, 23, 24] res2 = [1, 2, 5, 6, 9, 10, 3, 4, 7, 8, 11, 12, 13, 14, 17, 18, 21, 22, 15, 16, 19, 20, 23, 24] - np.testing.assert_allclose(res1, cdu.concat_matrices(3, 2, [arrA, arrB, arrC, arrD, arrE, arrF])) - np.testing.assert_allclose(res2, cdu.concat_matrices(2, 3, [arrA, arrB, arrC, arrD, arrE, arrF])) + np.testing.assert_allclose(res1, cdu.concat_matrices(3, 2, + [arrA, arrB, arrC, arrD, arrE, arrF])) + np.testing.assert_allclose(res2, cdu.concat_matrices(2, 3, + [arrA, arrB, arrC, arrD, arrE, arrF])) def test_trimat_to_fullmat(): trimat = [1, 2, 3, 4, 5, 6]