Nick Coghlan ncogh...@gmail.com added the comment:
Even more special: put a test_doctest in first and the attempt to clean up
sys.modules in test_zipimport_support leaves things alone so the _ssl module
doesn't break (test_doctest just leaves sys.modules alone and doesn't even try
to remove
Nick Coghlan ncogh...@gmail.com added the comment:
Fixed for 3.2 in r87925. (I simply dropped the attempt to restore sys.modules
to its original state from test_zipimport_support)
--
___
Python tracker rep...@bugs.python.org
Nick Coghlan ncogh...@gmail.com added the comment:
2.7 and 3.1 don't appear to exhibit the fault, so closing this one.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
New submission from Antoine Pitrou pit...@free.fr:
This test failure is due to test_zipimport_support loading and unloading
modules, which leads to them being reloaded. Then the ssl.CertificateError
which is checked for by assertRaises isn't the same as the one raised by the
module under test