> > No, you check whether the 'network' resource name is enabled in > > test_support. Use test_support.is_resource_enabled('network'). > > Another thought that has come to mind; should we be diligent about > creating new objects like good testers? Or should we minimize it since > net connections are expensive to make and can hold things up. Net connections aren't that expensive; you can happily create a new net connection for each individual test. Of course, tests that hold things up should be minimized, but in my experience, tests containing waits (even sleep(0.1)) hold things up much more than opening and closing sockets. --Guido van Rossum (home page: http://www.python.org/~guido/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4