diff --git a/tests_automatic/test_surface3d_automatic.py b/tests_automatic/test_surface3d_automatic.py
index 3af2f032d573a5fa29b42bc5eaf1e3bcc27ad93d..cca17e8190a1b63018128b421685a2cd8960e99a 100644
--- a/tests_automatic/test_surface3d_automatic.py
+++ b/tests_automatic/test_surface3d_automatic.py
@@ -20,7 +20,7 @@ def matrix_triplet_strategy(draw, min_dim=1, max_dim=10, min_value=0, max_value=
             min_size=rows,
             max_size=rows,
         ),
-        arrays(dtype=np.int64, shape=(rows, cols)),  # type: ignore
+        arrays(dtype=np.int64, shape=(rows, cols)),
     )
 
     matrix1 = draw(matrix_strategy)
@@ -38,7 +38,7 @@ def test_surface_properties(
     x, y, z = matrix_triplet
     serializer = MatplotlibSerializer()
     _, serializer_ax = serializer.subplots(subplot_kw={"projection": "3d"})
-    _fig, ax = plt.subplots(subplot_kw={"projection": "3d"})
+    _fig, ax = plt.subplots(subplot_kw={"projection": "3d"})  # type: ignore
     try:
         ax.plot_surface(x, y, z)
     except Exception as _e: