-
Notifications
You must be signed in to change notification settings - Fork 6
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
Failing Tests #55
Comments
Hi, the tests require additional dependencies beyond the package itself. These dependencies aren't installed by default because they aren't necessary for most users. These dependencies can be installed by running |
I added these instructions to the Guide to contributors. |
I’m not able to run the tests successfully. I’m getting 1 failure and 1 hang. The failure:
And the 11th or 12th test of test_simulator.py is hanging. |
I corrected the failing metadata test. The code is fine; the assertion is overly strict and was incorrectly failing in your environment. This is pushed to GitHub and PyPI. @artgoldberg can you help debug the hanging test? It works fine in our environments (our machines, CircleCI, Mac, Linux) which use Python 3.7. I think its worth creating a Docker image for Python 3.8 to see if this is specific to Python 3.8. |
Hi @gonsie I tested In addition, the warning I've pushed these updates to GitHub and PyPI. The new version of Thanks |
Hi @gonsie Could you please try the unit tests again? I was not able to reproduce the hanging test you report. Thanks |
Hi @gonsie Alternatively, to confirm that DE Sim works under Python 3.8, you could run its unit tests in a Docker container running Python 3.8: Docker commands (requires Docker):
Shell commands to execute in the running Docker container:
You should get this output:
The tests take under 5 min. to run on my laptop, which has a 2.9 GHz Intel Core i5 with 16 GB RAM. They take a while because Arthur |
Here is a dump of the failing test. I’m including the full output because I’m not exactly sure which parts may be useful.
|
Thanks, I'll investigate. |
Thanks @gonsie. With respect to DE Sim, to confirm that it passes all tests under Python 3.8, you could run its unit tests in a Docker container, as I suggested yesterday. Regards |
…put, because CaptureOutput fails in test run by JOSS paper reviewer; see #55; bump version
Hi @gonsie I have replaced I don't know whether this change will fix the failure, as I have not reproduced the problem. Could you please try it? In addition, I've filed an issue with Thanks |
Closing given no feedback in 24 days. |
This issue is related to openjournals/joss-reviews#2685
I’m running Python 3.8 on a Mac. When running
python -m pytest tests
I am getting 2 warnings and 6 errors. Here is the summary output:It looks like most of errors come from:
The text was updated successfully, but these errors were encountered: