-
Notifications
You must be signed in to change notification settings - Fork 27
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
Wrong errors raised in tests? #453
Comments
Hi Michael, thanks for the bug report! It looks like you are running the tests on Mac OS X? The kernel error numbers/names generated for these errors are different between Linux and OS X, but the tests check only the Linux numbers/names. We can't easily run the tests on Mac OS X, but would welcome patches to fix the tests. Also the tests fail, but the code they are testing actually works as intended, which is good :) Edit: does docker on Mac OS X using a Linux kernel, or run on Darwin directly? If the former, what kernel version is it? It's possible this could be a Linux change that need accounting for in the tests |
It may possible to use the errno module in the stdlib to write these tests in a more cross platform manner |
My bad, forgot to go inside container. Yes, it is MacOsX. https://docs.docker.com/v17.09/docker-for-mac/docker-toolbox/#the-docker-for-mac-environment
Then goes tiny linux kernel that supports docker and then everything else as I understood. |
#454 |
Please tell if it's intended or just not fixed yet.
OS name and version:
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=debian
Any details about your local setup that might be helpful in troubleshooting:
Docker container with gunicorn, django, python_prometheus, etc...
python2.7.16
Detailed steps to reproduce the bug:
pytest -vv
The text was updated successfully, but these errors were encountered: