[issue25747] test_idle failure in leaks searching mode

Terry J. Reedy report at bugs.python.org
Sun May 15 14:01:56 EDT 2016


Terry J. Reedy added the comment:

>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?

----------
nosy: +martin.panter

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25747>
_______________________________________


More information about the Python-bugs-list mailing list