[issue10556] test_zipimport_support mucks up with modules

2011-01-11 Thread Nick Coghlan
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

[issue10556] test_zipimport_support mucks up with modules

2011-01-11 Thread Nick Coghlan
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

[issue10556] test_zipimport_support mucks up with modules

2011-01-11 Thread Nick Coghlan
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

[issue10556] test_zipimport_support mucks up with modules

2010-11-27 Thread Antoine Pitrou
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