Message166399
| 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: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 |
|