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 r.david.murray
Recipients anton.barkovsky, r.david.murray, rosslagerwall
Date 2012-07-25.13:48:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1343224097.14.0.868795082291.issue15447@psf.upfronthosting.co.za>
In-reply-to
Content
@Anton: That's what I was guessing.  If we had a unit test in test_webbrowser that did the same thing, we'd have seen the resource warning when running the tests and fixed it.  However, it looks like there aren't *any* tests for webbrowser, not even in test_sundry (which just makes sure modules without tests are importable).

So adding a test that will trigger this resource warning requires setting up a test_webbrowser file first, even before we get to the problem of how to test something that wants to start up a web browser...(but that should be solvable with unittest.mock, I think).
History
Date User Action Args
2012-07-25 13:48:17r.david.murraysetrecipients: + r.david.murray, rosslagerwall, anton.barkovsky
2012-07-25 13:48:17r.david.murraysetmessageid: <1343224097.14.0.868795082291.issue15447@psf.upfronthosting.co.za>
2012-07-25 13:48:16r.david.murraylinkissue15447 messages
2012-07-25 13:48:16r.david.murraycreate