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

Tests that require matplotlib should be skipped if it's not installed #1061

Closed
swryan opened this issue Apr 25, 2024 · 0 comments · Fixed by #1062
Closed

Tests that require matplotlib should be skipped if it's not installed #1061

swryan opened this issue Apr 25, 2024 · 0 comments · Fixed by #1062
Assignees

Comments

@swryan
Copy link
Contributor

swryan commented Apr 25, 2024

Task Description

When Dymos is installed without any of it's extra dependencies (including [test]), a user should still be able to run the tests without errors.

After doing a conda install of Dymos from conda-forge, which does not have the option to install with optional dependencies, and running testflo, a large number of tests fail due to matplotlib not being installed. There is also a test that requires pycodestyle. These tests should be skipped if the required dependency is not installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants