Skip to content

Fix doctest failure by skipping optional dependency sunpy_soar#174

Open
tejasnarwade wants to merge 2 commits intosunpy:mainfrom
tejasnarwade:fix-rpw-doctest
Open

Fix doctest failure by skipping optional dependency sunpy_soar#174
tejasnarwade wants to merge 2 commits intosunpy:mainfrom
tejasnarwade:fix-rpw-doctest

Conversation

@tejasnarwade
Copy link

@tejasnarwade tejasnarwade commented Mar 17, 2026

This PR fixes a failing doctest in RPWSpectrogram caused by the absence of the optional dependency sunpy_soar.
The example import is modified to include # doctest: +SKIP so that tests do not fail when the dependency is not installed.

This ensures the test suite passes in environments without optional dependencies while keeping the documentation intact.

#PR Description
AI Assistance Disclosure
AI tools were used for:

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding
  • No AI tools were used

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 this pull request may close these issues.

1 participant