[issue18381] unittest warnings counter

2014-08-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ouch. I've just been bitten by the fact that unittest enables all warnings by default in 3.4, and this change would definitely make things worse. I would like to see a simple, documented way of disabling this new behaviour. I'm proposing a `catch_warnings` fla

[issue18381] unittest warnings counter

2014-06-04 Thread Berker Peksag
Berker Peksag added the comment: 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

[issue18381] unittest warnings counter

2014-06-03 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: FWICT Berker's patch LGTM. Michael, are you OK with committing this? -- ___ Python tracker ___ __

[issue18381] unittest warnings counter

2014-05-25 Thread Berker Peksag
Berker Peksag added the comment: I get a test failure when I run the test suite with unittest.patch: test_Exit (unittest.test.test_program.Test_TestProgram) ... test test_unittest crashed -- Traceback (most recent call last): File "/home/berker/projects/cpython-default/Lib/test/regrtest.py",

[issue18381] unittest warnings counter

2013-08-09 Thread Michael Foord
Michael Foord added the comment: Looks good to me, except the backslash continuation is unneeded. Needs documentation. -- assignee: -> michael.foord ___ Python tracker ___

[issue18381] unittest warnings counter

2013-08-08 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: -> patch review type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue18381] unittest warnings counter

2013-07-18 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +rbcollins ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue18381] unittest warnings counter

2013-07-06 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': ...as per my original proposal on python-ideas: http://mail.python.org/pipermail/python-ideas/2013-June/021450.html Patch is in attachment. -- components: Library (Lib) files: unittest.patch keywords: needs review, patch messages: 192430 nosy: ezio.