New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: test_sites_no_connection_close (test.test_urllib2net.OtherNetworkTests) #77476
Comments
|
cpython/Lib/test/test_urllib2net.py Lines 180 to 198 in 5fbc511
This test uses http://www.imdb.com/, but it is gone. Is there any good URL for this test case? |
|
Thanks! I force-merged the skips of the test so that Travis CI and buildbots were not failing. I'll leave the issue open so we can decide what to do about the test long term. |
|
I initially thought about using pythontest.net but I don't think it's possible to remove the Connection header at the nginx level: https://github.com/python/psf-salt/blob/master/salt/pythontest/config/nginx.pythontest.conf.jinja I think our only option is to create a local server for the test. I'm not sure it's an important enough use case, though. |
|
Can't we just mock the response header and test this with a known url like python.org and simulate the scenario? |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: