Konstantin Ladutenko hace 2 años
padre
commit
a1e4ff161b
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      tests/test_py.py

+ 2 - 0
tests/test_py.py

@@ -25,6 +25,8 @@ class TestStringMethods(unittest.TestCase):
     def test_bulk(self):
     def test_bulk(self):
         tol = 3e-7
         tol = 3e-7
         for solver in [mie, mie_mp]:
         for solver in [mie, mie_mp]:
+            if solver is None:
+                continue
             for case in test_cases:
             for case in test_cases:
                 solver.SetLayersSize(case[0])
                 solver.SetLayersSize(case[0])
                 solver.SetLayersIndex(case[1])
                 solver.SetLayersIndex(case[1])