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.

Author terry.reedy
Recipients kbk, martin.panter, roger.serwy, serhiy.storchaka, terry.reedy
Date 2016-05-15.18:01:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1463335316.79.0.623263071381.issue25747@psf.upfronthosting.co.za>
In-reply-to
Content
From Mantin Panter's msg265606:

======================================================================
FAIL: test_idlever (idlelib.idle_test.test_warning.ImportWarnTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/db3l/buildarea/3.5.bolen-tiger/build/Lib/idlelib/idle_test/test_warning.py", line 76, in test_idlever
    self.assertEqual(len(w), 1)
AssertionError: 0 != 1

Serhiy got this by running leak tests, so that sys.modules caching prevented re-execution of warning code.  I am curious: are OSX builtbots doing something similar?  Or is the warning not being issued on the first import, making this a true failure?
History
Date User Action Args
2016-05-15 18:01:56terry.reedysetrecipients: + terry.reedy, kbk, roger.serwy, martin.panter, serhiy.storchaka
2016-05-15 18:01:56terry.reedysetmessageid: <1463335316.79.0.623263071381.issue25747@psf.upfronthosting.co.za>
2016-05-15 18:01:56terry.reedylinkissue25747 messages
2016-05-15 18:01:56terry.reedycreate