Konstantin Ladutenko 2 vuotta sitten
vanhempi
commit
a1e4ff161b
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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])