-
-
Notifications
You must be signed in to change notification settings - Fork 573
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
Tests failing with pytest 7.2.0 #6505
Comments
We're now getting this mysterious warning with the new release of INTERNALERROR> warnings.warn(warning, stacklevel=stacklevel)
INTERNALERROR> DeprecationWarning: The --rsyncdir command line argument and rsyncdirs config variable are deprecated.
INTERNALERROR> The rsync feature will be removed in pytest-xdist 4.0. |
The
|
Oh did we mark the test and then never run it properly? We should enable it or refactor the test. |
I can't work out where, but at some point I think this was fixed - with pytest 7.2.1 the tests I mentioned in the original issue seem to work fine for me now locally. |
Describe the bug
With
pytest
7.2.0 the following tests are failing:with messages like:
I'm guessing these tests are unintentionally returning something?
I'm going to fix this by pinning
pytest<7.2
on the 4.0 branch to get 4.0.6 out, but when a fix is merged to main and backported we should remember to remove that pytest pin on the 4.0 branch.To Reproduce
import sunpy
sunpy.map.Map(...)
etc
Screenshots
No response
System Details
No response
Installation method
No response
The text was updated successfully, but these errors were encountered: