[Python-Dev] [Python-checkins] cpython: Disabling a test that fails on some bots. Will investigate the failure soon (original) (raw)
Eli Bendersky eliben at gmail.com
Fri Feb 17 04:57:05 CET 2012
- Previous message: [Python-Dev] [Python-checkins] cpython: Disabling a test that fails on some bots. Will investigate the failure soon
- Next message: [Python-Dev] PEP 394 accepted
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Feb 17, 2012 at 05:50, Nick Coghlan <ncoghlan at gmail.com> wrote:
On Fri, Feb 17, 2012 at 2:09 AM, eli.bendersky <python-checkins at python.org> wrote: > diff --git a/Lib/test/testxmletreec.py b/Lib/test/testxmletreec.py > --- a/Lib/test/testxmletreec.py > +++ b/Lib/test/testxmletreec.py > @@ -53,8 +53,8 @@ > # actual class. In the Python version it's a class. > self.assertNotIsInstance(cET.Element, type) > > - def testcorrectimportcETalias(self): > - self.assertNotIsInstance(cETalias.Element, type) > + #def testcorrectimportcETalias(self): > + #self.assertNotIsInstance(cETalias.Element, type)
While this one was fixed quickly, please don't comment tests out without some kind of explanation in the code (not just in the checkin message). Even better is to use the expectedfailure() decorator or the skip() decorator. <http://mail.python.org/mailman/listinfo/python-checkins>
I just saw this test failing in some bots and wanted to fix it ASAP, without spending time on a real investigation. The follow-up fix came less than 2 hours later. But yes, I agree that commenting out wasn't a good choice - I should've just deleted it for the time I was working on a fix.
By the way, I later discussed the failing test with Florent and http://bugs.python.org/issue14035 is the result. That failure had made no sense until Florent got deeper into import_fresh_module.
Eli -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20120217/a6cbbcc8/attachment.html>
- Previous message: [Python-Dev] [Python-checkins] cpython: Disabling a test that fails on some bots. Will investigate the failure soon
- Next message: [Python-Dev] PEP 394 accepted
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]