Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Tests in test_eigensolver do not check for SLEPc #3175

Closed
JDBetteridge opened this issue Oct 18, 2023 · 0 comments · Fixed by #3348
Closed

BUG: Tests in test_eigensolver do not check for SLEPc #3175

JDBetteridge opened this issue Oct 18, 2023 · 0 comments · Fixed by #3348
Assignees
Labels

Comments

@JDBetteridge
Copy link
Member

Describe the bug
Tests in tests/regression/test_eigensolver.py should check for the presence of SLEPc.

Steps to Reproduce
Steps to reproduce the behaviour:

  1. Install Firedrake without SLEPc
  2. pytest -v tests/regression/test_eigensolver.py

Expected behavior
Tests skipped

Error message

FAILED tests/regression/test_eigensolver.py::test_evals_1d[5-1-1e-13] - ImportError: Unable to import SLEPc, eigenvalue computation not possible (try firedrake-update --slepc)
FAILED tests/regression/test_eigensolver.py::test_evals_1d[10-1-1e-13] - ImportError: Unable to import SLEPc, eigenvalue computation not possible (try firedrake-update --slepc)
FAILED tests/regression/test_eigensolver.py::test_evals_1d[20-1-1e-13] - ImportError: Unable to import SLEPc, eigenvalue computation not possible (try firedrake-update --slepc)
FAILED tests/regression/test_eigensolver.py::test_evals_1d[30-1-1e-13] - ImportError: Unable to import SLEPc, eigenvalue computation not possible (try firedrake-update --slepc)
FAILED tests/regression/test_eigensolver.py::test_evals_2d - ImportError: Unable to import SLEPc, eigenvalue computation not possible (try firedrake-update --slepc)

Environment:

  • N/A

Additional Info
N/A

@JDBetteridge JDBetteridge changed the title BUG: Tests in test_eignesolver do not check for SLEPc BUG: Tests in test_eigensolver do not check for SLEPc Oct 20, 2023
@JDBetteridge JDBetteridge self-assigned this Feb 2, 2024
@JDBetteridge JDBetteridge linked a pull request Feb 14, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant