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 berker.peksag
Recipients berker.peksag, ezio.melotti, giampaolo.rodola, michael.foord, rbcollins
Date 2014-06-05.00:12:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1401927169.18.0.961526115961.issue18381@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the review, Giampaolo.

Attached a new patch which fixes text_logging and test_doctest tests.

However, this patch will broke the current behavior of test.support.check_warnings. See Lib/test/test_xml_etree.py for example:

test test_xml_etree crashed -- Traceback (most recent call last):
  File "/home/berker/projects/cpython-default/Lib/test/regrtest.py", line 1278, in runtest_inner
    test_runner()
  File "/home/berker/projects/cpython-default/Lib/test/test_xml_etree.py", line 2580, in test_main
    support.run_unittest(*test_classes)
  File "/home/berker/projects/cpython-default/Lib/test/test_xml_etree.py", line 2537, in __exit__
    self.checkwarnings.__exit__(*args)
  File "/home/berker/projects/cpython-default/Lib/contextlib.py", line 66, in __exit__
    next(self.gen)
  File "/home/berker/projects/cpython-default/Lib/test/support/__init__.py", line 1081, in _filterwarnings
    missing[0])
AssertionError: filter ("This search is broken in 1.3 and earlier, and will be fixed in a future version.  If you rely on the current behaviour, change it to '.+'", FutureWarning) did not catch any warning
History
Date User Action Args
2014-06-05 00:12:50berker.peksagsetrecipients: + berker.peksag, giampaolo.rodola, rbcollins, ezio.melotti, michael.foord
2014-06-05 00:12:49berker.peksagsetmessageid: <1401927169.18.0.961526115961.issue18381@psf.upfronthosting.co.za>
2014-06-05 00:12:49berker.peksaglinkissue18381 messages
2014-06-05 00:12:48berker.peksagcreate