Skip to content

Commit

Permalink
Remove deprecated msg kwarg
Browse files Browse the repository at this point in the history
  • Loading branch information
JDBetteridge committed Oct 9, 2024
1 parent b5c004f commit 91664d7
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions tests/test_eps.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,20 @@
import netgen.meshing as ngm

from mpi4py.MPI import COMM_WORLD
try:
from slepc4py import SLEPc
except ImportError:
pytest.skip(
reason="SLEPc unavailable, skipping eigenvalue test",
allow_module_level=True
)

from ngsPETSc import EigenSolver

def test_eps_ghepi_eigvals():
'''
Testing the mapping PETSc KSP using MUMPS
'''
try:
from slepc4py import SLEPc
except ImportError:
pytest.skip(msg="SLEPc unavailable, skipping eigenvalue test")

exact = [2,5,5,8]
if COMM_WORLD.rank == 0:
geo = SplineGeometry()
Expand Down Expand Up @@ -50,11 +52,6 @@ def test_eps_ghep_eigfuncs():
Testing the mapping PETSc KSP using MUMPS
This test DOES NOT work in parallel
'''
try:
from slepc4py import SLEPc
except ImportError:
pytest.skip(msg="SLEPc unavailable, skipping eigenvalue test")

if COMM_WORLD.rank == 0:
geo = SplineGeometry()
geo.AddRectangle((0,0),(pi,pi),bc="bnd")
Expand Down

0 comments on commit 91664d7

Please sign in to comment.