We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
$ cat test_foo.py import select def test_epoll(): e = select.epoll() $ py.test -s -v teuthology/test/test_foo.py ================================================================================================ test session starts ================================================================================================ platform linux2 -- Python 2.7.6, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 -- /home/loic/software/ceph/teuthology/virtualenv/bin/python cachedir: .cache rootdir: /home/loic/software/ceph/teuthology, inifile: pytest.ini collected 1 items teuthology/test/test_foo.py::test_epoll FAILED ===================================================================================================== FAILURES ====================================================================================================== ____________________________________________________________________________________________________ test_epoll _____________________________________________________________________________________________________ def test_epoll(): > e = select.epoll() E AttributeError: 'module' object has no attribute 'epoll' teuthology/test/test_foo.py:4: AttributeError ============================================================================================= 1 failed in 0.01 seconds ============================================================================================== $ python Python 2.7.6 (default, Jun 22 2015, 17:58:13) [GCC 4.8.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import select >>> select.epoll() >>>
The text was updated successfully, but these errors were encountered:
Works fine here. What does print select.__file__ say in the failing test?
print select.__file__
Sorry, something went wrong.
from gevent import monkey monkey.patch_all(dns=False)
was run implicitly and caused the error, sorry for the noise
No branches or pull requests
The text was updated successfully, but these errors were encountered: