From f3988751189164ae12ae58f666a0f3988394c16a Mon Sep 17 00:00:00 2001 From: Giovani Hidalgo Ceotto Date: Tue, 21 Nov 2023 11:41:21 -0300 Subject: [PATCH] MNT: Remove unnecessary matplotlib mock show --- tests/test_rocket.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/test_rocket.py b/tests/test_rocket.py index 3d257a6d8..acb131e1c 100644 --- a/tests/test_rocket.py +++ b/tests/test_rocket.py @@ -25,9 +25,8 @@ def test_aero_surfaces_infos( assert calisto_trapezoidal_fins.draw() == None -@patch("matplotlib.pyplot.show") def test_coordinate_system_orientation( - mock_show, calisto_nose_cone, cesaroni_m1670, calisto_trapezoidal_fins + calisto_nose_cone, cesaroni_m1670, calisto_trapezoidal_fins ): """Test if the coordinate system orientation is working properly. This test basically checks if the static margin is the same for the same rocket with @@ -35,8 +34,6 @@ def test_coordinate_system_orientation( Parameters ---------- - mock_show : mock - Mock of matplotlib.pyplot.show calisto_nose_cone : rocketpy.NoseCone Nose cone of the rocket cesaroni_m1670 : rocketpy.SolidMotor