Serhiy Storchaka
e98209c2b4
Issue #24245 : Eliminated senseless expect clauses that have no any effect.
...
Patch by Martin Panter.
2015-05-20 16:10:04 +03:00
Victor Stinner
4bea461572
Issue #23881 : ftp://gatekeeper.research.compaq.com/ and ftp://ftp.debian.org/
...
are down, don't use anymore in test_urllib2net
2015-04-07 12:52:50 +02:00
Benjamin Peterson
b811a97859
use pythontest.net for fragment redirection test
2014-11-05 13:10:08 -05:00
Benjamin Peterson
1d83002748
remove requires_ssl decorator
2014-11-05 11:30:21 -05:00
Benjamin Peterson
67a9877866
merge 3.3
2014-11-05 11:30:00 -05:00
Benjamin Peterson
e71abcc7bb
merge 3.2
2014-11-05 11:29:39 -05:00
Benjamin Peterson
258f3f0dc2
use pythontest.net for url fragment test
2014-11-05 11:27:14 -05:00
Berker Peksag
8b63d3af9f
Issue #22596 : support.transient_internet() now also catches
...
ConnectionRefusedError exceptions wrapped by urllib.error.URLError.
This change should fix sporadic failures in test_urllib2net.
2014-10-25 05:42:30 +03:00
Berker Peksag
b77983d2bd
Issue #21456 : Skip two tests in test_urllib2net.py if _ssl module not present.
...
Patch by Remi Pointel.
2014-10-10 14:34:16 +03:00
Antoine Pitrou
bc2c4c9990
Replace bad ftp URLs in test_urllib2net
2014-09-17 00:39:21 +02:00
Benjamin Peterson
809ee902c4
use https docs url
2014-03-31 13:50:34 -04:00
Benjamin Peterson
887cd7d981
merge 3.3 ( #21115 )
2014-03-31 13:46:45 -04:00
Benjamin Peterson
b25e3f9e6a
merge 3.2
2014-03-31 13:46:26 -04:00
Benjamin Peterson
b4be376d16
use https docs url ( #21115 )
2014-03-31 13:44:53 -04:00
Ned Deily
e558181660
Issue #20939 : Use www.example.com instead of www.python.org to avoid test
...
failures when ssl is not present.
2014-03-26 23:31:39 -07:00
Ned Deily
5a507f0f05
Issue #20939 : Use www.example.com instead of www.python.org to avoid test
...
failures when ssl is not present.
2014-03-26 23:31:39 -07:00
Serhiy Storchaka
d3e1207191
Issue #20555 : Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref tests.
2014-02-08 14:51:10 +02:00
Serhiy Storchaka
25d8aeac7c
Issue #20555 : Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref tests.
2014-02-08 14:50:08 +02:00
Serhiy Storchaka
8f8ec92de8
Issue #19936 : Added executable bits or shebang lines to Python scripts which
...
requires them. Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface. Fixed
shebang lines in the unittestgui and checkpip scripts.
2014-01-16 17:33:23 +02:00
Serhiy Storchaka
b992a0e102
Issue #19936 : Added executable bits or shebang lines to Python scripts which
...
requires them. Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface. Fixed
shebang line to use python3 executable in the unittestgui script.
2014-01-16 17:15:49 +02:00
doko@ubuntu.com
e575148cc2
- Issue #20070 : Don't run test_urllib2net when network resources are not
...
enabled.
2013-12-26 17:37:11 +01:00
Brett Cannon
3e9a9ae09d
Update various test modules to use unittest.main() for test discovery
...
instead of manually listing tests for test.support.run_unittest().
2013-06-12 21:25:59 -04:00
Senthil Kumaran
8307075ce8
Fix #17272 - Make Request.full_url and Request.get_full_url return same result under all circumstances.
...
Document the change of Request.full_url to a property.
2013-05-24 09:14:12 -07:00
Antoine Pitrou
da23259f99
Issue #17107 : Test client-side SNI support in urllib.request thanks to the new server-side SNI support in the ssl module.
...
Initial patch by Daniel Black.
2013-02-05 21:20:51 +01:00
Andrew Svetlov
3438fa496d
Get rig of EnvironmentError ( #16705 )
2012-12-17 23:35:18 +02:00
Georg Brandl
5b9561d1f1
merge with 3.2
2012-10-28 10:51:46 +01:00
Georg Brandl
579d5cd643
changeset: 80007:49e4541f2aef
...
parent: 80003:be83cbf4a789
parent: 80006:32df036e6b75
user: Georg Brandl <georg@python.org>
date: Sun Oct 28 10:50:11 2012 +0100
summary: merge with 3.3
2012-10-28 10:51:35 +01:00
Nadeem Vawda
61baebd0e1
Issue #12804 : Fix test failures on systems without internet access.
2012-01-25 08:02:05 +02:00
Senthil Kumaran
3800ea9f65
Fix Issue6631 - Disallow relative file paths in urllib urlopen
2012-01-21 11:52:48 +08:00
Senthil Kumaran
e324c57367
using support.transient_internet helper method in the urllib2net test.
2011-07-31 11:45:14 +08:00
Senthil Kumaran
1299a8f3b2
Fix closes Issue12576 - fix urlopen behavior on sites which do not send (or obsfuscates) Connection: Close header.
2011-07-27 08:05:58 +08:00
Nadeem Vawda
08f5f7aa81
Issue #10883 : Fix socket leaks in urllib.request.
...
* ftpwrapper now uses reference counting to ensure that the underlying socket
is closed when the ftpwrapper object is no longer in use
* ftplib.FTP.ntransfercmd() now closes the socket if an error occurs
Initial patch by Victor Stinner.
2011-07-23 14:03:00 +02:00
Victor Stinner
eaca5c8b95
Issue #10883 : test_urllib2net closes socket explicitly
2011-06-17 14:53:02 +02:00
Senthil Kumaran
b17abb1af9
merge from 3.1
2011-04-13 07:22:29 +08:00
Senthil Kumaran
2643041970
Fix Issue11703 - urllib2.geturl() does not return correct url when the original url contains #fragment. Patch Contribution by Santoso Wijaya.
2011-04-13 07:01:19 +08:00
Antoine Pitrou
0eee1f588c
Disabling SNI test; server admin would not like us to use it for automated tests.
2010-11-03 08:53:25 +00:00
Antoine Pitrou
27683c954b
Merged revisions 85893 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85893 | georg.brandl | 2010-10-28 16:55:02 +0200 (jeu., 28 oct. 2010) | 1 line
#10116 : wrap transient_internet() around net access in test_urllib2net.
........
2010-10-31 13:52:53 +00:00
Georg Brandl
5be365f55d
#10116 : wrap transient_internet() around net access in test_urllib2net.
2010-10-28 14:55:02 +00:00
Antoine Pitrou
d532321f7b
Issue #5639 : Add a *server_hostname* argument to `SSLContext.wrap_socket`
...
in order to support the TLS SNI extension. `HTTPSConnection` and
`urlopen()` also use this argument, so that HTTPS virtual hosts are now
supported.
2010-10-22 18:19:07 +00:00
Senthil Kumaran
603ca41e27
Merged revisions 85025 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85025 | senthil.kumaran | 2010-09-27 06:56:03 +0530 (Mon, 27 Sep 2010) | 6 lines
Fix Issue1595365 - Adding the req.headers after the un-redirect headers have
been added. This helps in accidental overwritting of User-Agent header to
default value. To preserve the old behavior, only headers not in unredirected
headers will be updated.
........
2010-09-27 01:28:10 +00:00
Senthil Kumaran
42ef4b1f4c
Fix Issue1595365 - Adding the req.headers after the un-redirect headers have
...
been added. This helps in accidental overwritting of User-Agent header to
default value. To preserve the old behavior, only headers not in unredirected
headers will be updated.
2010-09-27 01:26:03 +00:00
Senthil Kumaran
4c88db77a0
Merged revisions 83818 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83818 | senthil.kumaran | 2010-08-08 16:57:53 +0530 (Sun, 08 Aug 2010) | 4 lines
Fix Issue8280 - urllib2's Request method will remove fragements in the url.
This is how it should work,wget and curl work like this way too. Old behavior was wrong.
........
2010-08-08 11:30:58 +00:00
Senthil Kumaran
d95cc75483
Fix Issue8280 - urllib2's Request method will remove fragements in the url.
...
This is how it should work,wget and curl work like this way too. Old behavior was wrong.
2010-08-08 11:27:53 +00:00
Senthil Kumaran
dcedfb11b9
Merged revisions 80256 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r80256 | senthil.kumaran | 2010-04-20 16:05:49 +0530 (Tue, 20 Apr 2010) | 9 lines
Merged revisions 80236 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80236 | senthil.kumaran | 2010-04-20 12:24:59 +0530 (Tue, 20 Apr 2010) | 3 lines
Fix Issue8460: Victor's patch to add timeout in test_urllib2net test_urls.
........
................
2010-04-20 10:40:21 +00:00
Senthil Kumaran
b8f7ea6ceb
Merged revisions 80236 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80236 | senthil.kumaran | 2010-04-20 12:24:59 +0530 (Tue, 20 Apr 2010) | 3 lines
Fix Issue8460: Victor's patch to add timeout in test_urllib2net test_urls.
........
2010-04-20 10:35:49 +00:00
Benjamin Peterson
87cb787688
Merged revisions 79908 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79908 | martin.v.loewis | 2010-04-08 12:40:54 -0500 (Thu, 08 Apr 2010) | 2 lines
Issue #8348 : Fix test ftp url in test_urllib2net.
........
2010-04-11 21:59:57 +00:00
Georg Brandl
1b37e8728c
Merged revisions 78093 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78093 | georg.brandl | 2010-02-07 18:03:15 +0100 (So, 07 Feb 2010) | 1 line
Remove unused imports in test modules.
........
2010-03-14 10:45:50 +00:00
Benjamin Peterson
90f5ba538b
convert shebang lines: python -> python3
2010-03-11 22:53:45 +00:00
Ezio Melotti
e96159335f
Merged revisions 77727 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77727 | ezio.melotti | 2010-01-24 18:58:36 +0200 (Sun, 24 Jan 2010) | 1 line
use assert[Not]IsInstance where appropriate
........
2010-01-24 19:26:24 +00:00
Georg Brandl
ab91fdef1f
Merged revisions 73715 via svnmerge from
...
svn+ssh://svn.python.org/python/branches/py3k
........
r73715 | benjamin.peterson | 2009-07-01 01:06:06 +0200 (Mi, 01 Jul 2009) | 1 line
convert old fail* assertions to assert*
........
2009-08-13 08:51:18 +00:00