From 46884245a11877958f21fb44017a9381d65c7251 Mon Sep 17 00:00:00 2001 From: apearce Date: Wed, 13 Nov 2024 09:57:19 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20undo=20test=20change=20that=20cause?= =?UTF-8?q?s=20odd=20fail?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/integration/test_pfcoil_int.py | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/tests/integration/test_pfcoil_int.py b/tests/integration/test_pfcoil_int.py index 11d2cfb0..6fb75ec7 100644 --- a/tests/integration/test_pfcoil_int.py +++ b/tests/integration/test_pfcoil_int.py @@ -2306,13 +2306,13 @@ def test_peakb(monkeypatch: pytest.MonkeyPatch, pfcoil: PFCoil): "ric", np.array( [ - 14.74206383, - 20.03268163, - -8.10989134, - -8.10989134, - -5.5984385, - -5.5984385, - -186.987516, + 14.742063826112622, + 20.032681634901664, + -8.1098913365453491, + -8.1098913365453491, + -5.5984385047179153, + -5.5984385047179153, + -186.98751599968148, 0, 0, 0, @@ -2621,7 +2621,10 @@ def test_peakb(monkeypatch: pytest.MonkeyPatch, pfcoil: PFCoil): bzo_exp = -6.438987 bri, bro, bzi, bzo = pfcoil.peakb(i, ii, it) - + print(bri) + print(bro) + print(bzi) + print(bzo) assert pytest.approx(bri) == bri_exp assert pytest.approx(bro) == bro_exp assert pytest.approx(bzi) == bzi_exp