Konstantin Ladutenko 2 years ago
parent
commit
a1e4ff161b
1 changed files with 2 additions and 0 deletions
  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):
         tol = 3e-7
         for solver in [mie, mie_mp]:
+            if solver is None:
+                continue
             for case in test_cases:
                 solver.SetLayersSize(case[0])
                 solver.SetLayersIndex(case[1])