-
Notifications
You must be signed in to change notification settings - Fork 95
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
Failed galpy tests #308
Comments
…sun (different in different astropy versions; see #308)
…of the 0.025% change in Msun in astropyv2 (see #308)
Thanks for the output. There are a few things going wrong here:
It would be best to run each test file separately, then at least the test_quantity.py issue would go away. You can't run all the tests at the same time currently, because different files need different configurations and this is not possible in one test session. One way to do it would be to run
which first runs all tests except for |
Hi Dr. Bovy, I downloaded the new branch and ran the tests in there. Here is the output from Here is the output from |
Okay, I guess that should have been
Seems like the warnings are still the problem. I don't really see how you can still get the same error, so please make sure that you actually installed the new branch and aren't using a previous version anymore. I've tried to replicate your setup, but I cannot reproduce this warnings error, so it must be due to some detailed part of your setup. Anyway, if you are able to use the code without triggering this error, everything should be fine (it's just an error in how warnings are handled). The other tests that fail (test_fixedstepsize and the test_*_sigint ones) often fail because they depend on how long the code runs (which is varies from machine to machine). Nothing to worry about. |
When I run
pytest -v tests/
in the galpy-master file, I get the following output:https://pastebin.com/MC6HNWSB
I don't have
nemo
installed, so it's not surprising that nemo-specific tests failed; but there are also other functions that don't pass... For reference, I am running Python 2.7, Numpy 1.21.1, Scipy 0.19.0, and Astropy 2.0.The text was updated successfully, but these errors were encountered: