Message166399
@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). |
|
Date |
User |
Action |
Args |
2012-07-25 13:48:17 | r.david.murray | set | recipients:
+ r.david.murray, rosslagerwall, anton.barkovsky |
2012-07-25 13:48:17 | r.david.murray | set | messageid: <1343224097.14.0.868795082291.issue15447@psf.upfronthosting.co.za> |
2012-07-25 13:48:16 | r.david.murray | link | issue15447 messages |
2012-07-25 13:48:16 | r.david.murray | create | |
|