From 74ee1ffe0031b62ef57fa5180920f175bc1028e6 Mon Sep 17 00:00:00 2001 From: lisawim Date: Thu, 7 Mar 2024 09:37:57 +0100 Subject: [PATCH] Black.. --- pySDC/tests/test_projects/test_DAE/test_problems.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pySDC/tests/test_projects/test_DAE/test_problems.py b/pySDC/tests/test_projects/test_DAE/test_problems.py index e0cf70ccbb..dbc901cfbb 100644 --- a/pySDC/tests/test_projects/test_DAE/test_problems.py +++ b/pySDC/tests/test_projects/test_DAE/test_problems.py @@ -687,7 +687,9 @@ def test_WSCC9_SDC_detection(): switches = get_sorted(stats, type='switch', sortby='time', recomputed=False) assert len(switches) >= 1, 'ERROR: No events found!' t_switch = [me[1] for me in switches][0] - assert np.isclose(t_switch, 0.528458886745887, atol=1e-3), f'Found event does not match a threshold! Got {t_switch=}' + assert np.isclose( + t_switch, 0.528458886745887, atol=1e-3 + ), f'Found event does not match a threshold! Got {t_switch=}' # @pytest.mark.base