Skip to content

Commit

Permalink
[tests] skip fenics_nonlinear test if fenics is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
sdrave committed Dec 10, 2019
1 parent 577aba6 commit f67a071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pymortests/demos.py
Expand Up @@ -121,7 +121,7 @@ def _skip_if_no_solver(param):
demo, args = param
from pymor.core.config import config
for solver in ['fenics', 'ngsolve']:
needs_solver = len([f for f in args if solver in str(f)]) > 0
needs_solver = len([f for f in args if solver in str(f)]) > 0 or demo.find(solver) >= 0
has_solver = getattr(config, 'HAVE_' + solver.upper())
if needs_solver and not has_solver:
if not os.environ.get('DOCKER_PYMOR', False):
Expand Down

0 comments on commit f67a071

Please sign in to comment.