-
-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
imaplib test fails with errno 101 #80810
Comments
====================================================================== Traceback (most recent call last):
File "/home/python/Lib/test/test_imaplib.py", line 94, in test_imap4_host_default_value
self.assertIn(cm.exception.errno, expected_errnos)
AssertionError: 101 not found in [111, 99] I guess |
Did you see this failure somewhere in CI or is it in local machine? The imaplib test has below comment : if hasattr(errno, 'EADDRNOTAVAIL'):
# socket.create_connection() fails randomly with
# EADDRNOTAVAIL on Travis CI.
expected_errnos.append(errno.EADDRNOTAVAIL) As noted in initial report test_socket has ENETUNREACH added cpython/Lib/test/test_socket.py Line 4808 in 929b704
|
I see this error on my local Bamboo CI (runs on CentOS 7). |
Thanks for your bug report Marat Sharafutdinov, it's now fixed in 3.7 and master (Python 2.7 is not affected, it doesn't have the test_imaplib test method). |
Thank you for the patch, Victor! |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: