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

TST Fix test_conversion_missing #341

Merged
merged 2 commits into from
Mar 8, 2024
Merged

TST Fix test_conversion_missing #341

merged 2 commits into from
Mar 8, 2024

Conversation

lucyleeow
Copy link
Contributor

@lucyleeow lucyleeow commented Mar 8, 2024

This test is failing in CIs in #340.

I think it is because there is no warning raised (not sure why the UserWarning is there). It used to pass because of this bug in pytest pytest-dev/pytest#9036, but this was fixed in pytest-dev/pytest#11129 and included in a recent release, thus our CIs are failing.

Note that I have update the test to be more specific about the exception raised (PackageNotFoundError) but it is not needed, subclass exceptions are still accepted by pytest. Also added a message to be more specific.

@lucyleeow
Copy link
Contributor Author

cc @DragaDoncila

Copy link

codecov bot commented Mar 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (595b088) to head (3b3ac44).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #341   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           37        37           
  Lines         2750      2750           
=========================================
  Hits          2750      2750           

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

Copy link
Contributor

@DragaDoncila DragaDoncila left a comment

Choose a reason for hiding this comment

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

Yep, looks great to me thanks @lucyleeow

@jni jni merged commit 37d4ba4 into napari:main Mar 8, 2024
32 checks passed
@lucyleeow lucyleeow deleted the fix_pgkerror branch March 8, 2024 06:15
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.

3 participants