commit | 41d4e32353a546036d76c154169917f5f754ce09 | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Tue Mar 13 02:34:09 2007 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Tue Mar 13 02:34:09 2007 +0000 |
tree | 639cdacc6cf63d28c7d9c26e0745be3c28153502 | |
parent | 192cd567bdb7791560629ea43365cd1079f2fc54 [diff] |
Add test.test_support.transient_internet . Returns a context manager that nests test.test_support.TransientResource context managers that capture exceptions raised when the Internet connection is flaky. Initially using in test_socket_ssl but should probably be expanded to cover any test that should not raise the captured exceptions if the Internet connection works.