Author terry.reedy
Recipients Arfrever, brett.cannon, kbk, r.david.murray, roger.serwy, terry.reedy, vinay.sajip
Date 2013-06-16.23:09:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1371424144.25.0.359316306414.issue18081@psf.upfronthosting.co.za>
In-reply-to
Content
I reverted the change to test_logging, reran, and it runs fine, at least twice. Before the revert, I checked that the only two changes were the intentional ones.

I tried adding idle_test/test_zdummy.py with a tearDownModule that deletes sys.modules['warnings']. This 'works' in that the original failure passes, as with the change to test_logging, and
'dummy.py:42: UserWarning: Explicit' is printed. But with test_logging unchanged from when it ran and passed, I see the same 0 != 1 error as in the last message plus

Traceback (most recent call last):
  File "F:\Python\dev\cpython\lib\test\test_logging.py", line 1757, in test_warnings
    self.assertGreater(s.find("UserWarning: I'm warning you...\n"), 0)
AssertionError: -1 not greater than 0
History
Date User Action Args
2013-06-16 23:09:04terry.reedysetrecipients: + terry.reedy, brett.cannon, kbk, vinay.sajip, roger.serwy, Arfrever, r.david.murray
2013-06-16 23:09:04terry.reedysetmessageid: <1371424144.25.0.359316306414.issue18081@psf.upfronthosting.co.za>
2013-06-16 23:09:04terry.reedylinkissue18081 messages
2013-06-16 23:09:04terry.reedycreate