Message219776
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 |
|
Date |
User |
Action |
Args |
2014-06-05 00:12:50 | berker.peksag | set | recipients:
+ berker.peksag, giampaolo.rodola, rbcollins, ezio.melotti, michael.foord |
2014-06-05 00:12:49 | berker.peksag | set | messageid: <1401927169.18.0.961526115961.issue18381@psf.upfronthosting.co.za> |
2014-06-05 00:12:49 | berker.peksag | link | issue18381 messages |
2014-06-05 00:12:48 | berker.peksag | create | |
|