Skip to content

Conversation

@aDNAn-itis
Copy link
Contributor

suppress deprecation warnings
#882 (comment)
fixes #882

assert_allclose(lk.flux, counts)
assert_allclose(lk.flux_err, counts_err)
with warnings.catch_warnings():
warnings.filterwarnings("ignore", category=DeprecationWarning)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also mention that what Warning message we are getting.

@codecov
Copy link

codecov bot commented Feb 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 46.50%. Comparing base (8896659) to head (3b7b215).

❗ There is a different number of reports uploaded between BASE (8896659) and HEAD (3b7b215). Click for more details.

HEAD has 22 uploads less than BASE
Flag BASE (8896659) HEAD (3b7b215)
23 1
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #886       +/-   ##
===========================================
- Coverage   96.03%   46.50%   -49.53%     
===========================================
  Files          48       48               
  Lines        9770     9768        -2     
===========================================
- Hits         9383     4543     -4840     
- Misses        387     5225     +4838     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@matteobachetti
Copy link
Member

@aDNAn-itis there is a better way to ignore warnings from tests. There is a dedicated section in the pyproject.toml

@aDNAn-itis
Copy link
Contributor Author

@matteobachetti done!

@matteobachetti matteobachetti added this pull request to the merge queue Feb 20, 2025
Merged via the queue into StingraySoftware:main with commit a91c031 Feb 20, 2025
15 checks passed
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.

Test failure of Stingray file

3 participants