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 <rep...@bugs.python.org> <http://bugs.python.org/issue25747> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com