This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_imaplib problem - intermittent skips and LOGINDISABLED not reported
Type: Stage: resolved
Components: email Versions: Python 3.2, Python 3.3
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: barry, ncoghlan, python-dev, r.david.murray, vstinner
Priority: normal Keywords:

Created on 2012-06-17 11:09 by ncoghlan, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg163053 - (view) Author: Nick Coghlan (ncoghlan) * (Python committer) Date: 2012-06-17 11:09
When running the test suite on Fedora 17 (and behind a couple of layers of NAT), I see the following problems:

Intermittently: skipped "Resource 'cyrus.andrew.cmu.edu' is not available"

Consistently (with a couple of tests updated to use the improved assertion methods for containment testing):

======================================================================
FAIL: test_logincapa (test.test_imaplib.RemoteIMAPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ncoghlan/devel/py32/Lib/test/test_imaplib.py", line 236, in test_logincapa
    self.assertIn('LOGINDISABLED', self.server.capabilities)
AssertionError: 'LOGINDISABLED' not found in ('IMAP4REV1', 'LITERAL+', 'ID', 'ENABLE', 'ACL', 'RIGHTS=KXTE', 'QUOTA', 'MAILBOX-REFERRALS', 'NAMESPACE', 'UIDPLUS', 'NO_ATOMIC_RENAME', 'UNSELECT', 'CHILDREN', 'MULTIAPPEND', 'BINARY', 'CATENATE', 'CONDSTORE', 'ESEARCH', 'SORT', 'SORT=MODSEQ', 'SORT=DISPLAY', 'THREAD=ORDEREDSUBJECT', 'THREAD=REFERENCES', 'ANNOTATEMORE', 'LIST-EXTENDED', 'WITHIN', 'QRESYNC', 'SCAN', 'XLIST', 'URLAUTH', 'URLAUTH=BINARY', 'MUPDATE=MUPDATE://MUPDATE.ANDREW.CMU.EDU/', 'AUTH=GSSAPI', 'AUTH=PLAIN', 'AUTH=ANONYMOUS', 'SASL-IR', 'STARTTLS')
msg163054 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-06-17 11:16
New changeset 4028bb7a5ac2 by Nick Coghlan in branch '3.2':
Issue #15095: Use better assertions in test_imaplib
http://hg.python.org/cpython/rev/4028bb7a5ac2

New changeset bbe1a2049ca1 by Nick Coghlan in branch 'default':
Merge from 3.2 (Issue #15095: Use better assertions in test_imaplib)
http://hg.python.org/cpython/rev/bbe1a2049ca1
msg331622 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2018-12-11 13:35
I didn't see this error recently so I close this old issue.
History
Date User Action Args
2022-04-11 14:57:31adminsetgithub: 59300
2018-12-11 13:35:42vstinnersetstatus: open -> closed

nosy: + vstinner
messages: + msg331622

resolution: out of date
stage: resolved
2012-06-17 14:14:15r.david.murraysetnosy: + barry, r.david.murray
components: + email
2012-06-17 11:16:45python-devsetnosy: + python-dev
messages: + msg163054
2012-06-17 11:09:53ncoghlancreate