Convert warnings to errors in the test suite

Open
#325 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
numpy, python
Domain
testing

Research direction

Start by locating the test-suite warning configuration and identify where warnings from astropy, sunpy, and numpy are currently ignored. Update the warning handling so the suite does not suppress these warnings, then run the full test suite and confirm it completes without warnings.

Written by the indexing model from the issue text.

Description

Feature Request Infrastructure

Currently we are ignoring all errors raised during our test suite run, with the exception of astropy and sunpy deprecation warnings. This should be changed so that we don't raise any warnings during our test suite. This is especially true for DeprecationWarning where we seem to be hitting a few in numpy

Dominant language
Python
Stars
49
Forks
56
Avg merge
5h 54m
Merged PRs (30d)
9

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sunpy/ndcube

All issues in sunpy/ndcube

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.