          self.assertTrue(expected2.close(res2, tol=3))
          self.assertAlmostEqual(expected3, res3, places=3)
  
-+    @unittest.skip('skip for openblas package')
++    unittest.skip('skip for openblas package')
      def test_output_efield_z(self):
          ms = self.init_solver()
          ms.run_tm()

diff --git a/python/tests/mpb.py b/python/tests/mpb.py
index 34a5541..359290d 100644
--- a/python/tests/mpb.py
+++ b/python/tests/mpb.py
@@ -382,8 +382,8 @@ class TestModeSolver(unittest.TestCase):

 
-        self.assertTrue(expected_fp.close(field_pt))
-        self.assertTrue(expected_bloch_fp.close(bloch_field_pt))
+        compare_arrays(self, np.array(expected_fp), np.array(field_pt), tol=1e-1)
+        compare_arrays(self, np.array(expected_bloch_fp), np.array(bloch_field_pt))
         self.assertEqual(expected_eps_inv_tensor.c1, eps_inv_tensor.c1)
         self.assertEqual(expected_eps_inv_tensor.c2, eps_inv_tensor.c2)
