SIGN IN SIGN UP

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
M
Martin Panter committed
d979b2cfcf4047b8f9b46e169cfa071e80e30d71
Parent: fc475a9