diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-04-09 14:03:17 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-04-09 14:03:17 (GMT) |
commit | d979b2cfcf4047b8f9b46e169cfa071e80e30d71 (patch) | |
tree | 516753703f0bb53c954c420320e74ac15026107b /Lib/test/test_bytes.py | |
parent | fc475a9fa6712b707867802df6072232562a3bd9 (diff) | |
download | cpython-d979b2cfcf4047b8f9b46e169cfa071e80e30d71.zip cpython-d979b2cfcf4047b8f9b46e169cfa071e80e30d71.tar.gz cpython-d979b2cfcf4047b8f9b46e169cfa071e80e30d71.tar.bz2 |
Issue #21069: Move test_fileno() from test_urllibnet and rewrite it
* No longer attempts to close already freed socket file descriptor
* Use socket object to be compatible with Windows
* Do not use a timeout to avoid complication with non-blocking mode
* Use internal localhost server rather than depending on a third party
* Avoid trouble with buffered HTTP data by testing tunnelled CONNECT data
Diffstat (limited to 'Lib/test/test_bytes.py')
0 files changed, 0 insertions, 0 deletions