Skip to content

test: make sure no warnings happen#163

Open
flying-sheep wants to merge 2 commits into
mainfrom
warnings
Open

test: make sure no warnings happen#163
flying-sheep wants to merge 2 commits into
mainfrom
warnings

Conversation

@flying-sheep

Copy link
Copy Markdown
Member

I saw the ad.__version__ and didn’t realize at the time that it’s already deprecated.

Remembering that made me realize that we’re not testing for warnings here. This PR introduces that.

@codecov

codecov Bot commented Jun 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.03%. Comparing base (b46f15d) to head (6697870).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #163      +/-   ##
==========================================
- Coverage   91.09%   91.03%   -0.06%     
==========================================
  Files          11       11              
  Lines        1819     1819              
==========================================
- Hits         1657     1656       -1     
- Misses        162      163       +1     
Files with missing lines Coverage Δ
src/mudata/_core/mudata.py 93.00% <100.00%> (-0.12%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread tests/test_update.py

pytestmark = [
pytest.mark.filterwarnings(r"ignore:(obs|var)_names.*not unique"),
pytest.mark.filterwarnings(r"ignore:Duplicated (obs|var)_names should not be present in different modalities"),

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

maybe this filter should only be applied if mod != 'unique'?

Comment thread tests/test_pull_push.py
@flying-sheep flying-sheep requested a review from ilia-kats June 29, 2026 10:26
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