diff --git a/tests/test_geometry_optimization.py b/tests/test_geometry_optimization.py index cd37b46..1cbe541 100644 --- a/tests/test_geometry_optimization.py +++ b/tests/test_geometry_optimization.py @@ -1,6 +1,7 @@ import unittest from pyqint import Molecule,GeometryOptimization import numpy as np +import sys class TestGeometryOptimization(unittest.TestCase): """ @@ -118,6 +119,8 @@ def test_optimization_h2o(self): self.assertEqual(res['data']['nuclear'].shape, (N, N)) self.assertEqual(res['data']['tetensor'].shape, (N, N, N, N)) + @unittest.skipIf(sys.platform == "Darwin", + "skipping test for MacOS") def test_optimization_c2h4(self): """ Optimize ethylene molecule and assess that the energy corresponds to