Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-27973 - Use test.support.temp_dir instead of NamedTemporaryFile for the ↵ | Senthil Kumaran | 2020-01-03 | 1 | -4/+4 |
| | | | | | | | (#17774) desired behavior under windows platform. Suggestion by David Bolen | ||||
* | [2.7] bpo-27973 - Fix for urllib.urlretrieve() failing on second ftp ↵ | Senthil Kumaran | 2019-12-30 | 1 | -1/+38 |
| | | | | | | | | transfer (#1040) * bpo-27973: Fix urllib.urlretrieve failing on subsequent ftp transfers from the same host. * bpo-35411: Skip test_urllibnet FTP tests on Travis CI. | ||||
* | [2.7] bpo-36019: Use pythontest.net in urllib network tests (GH-11941) ↵ | Stéphane Wirtel | 2019-03-05 | 1 | -14/+14 |
| | | | | | | (GH-12177) Use test_support.TEST_HTTP_URL (pythontest.net) instead of http://www.example.com/. | ||||
* | Replace example.com with pythontest.net in test_getcode of test_urllibnet | Berker Peksag | 2016-05-07 | 1 | -1/+1 |
| | |||||
* | give urllib.urlopen a context parameter (closes #22927) | Benjamin Peterson | 2014-11-23 | 1 | -1/+19 |
| | |||||
* | Issue #20939: Use www.example.com instead of www.python.org to avoid test | Ned Deily | 2014-03-26 | 1 | -12/+12 |
| | | | | failures when ssl is not present. | ||||
* | Issue #20939: Fix test_geturl failure in test_urllibnet due to | Ned Deily | 2014-03-15 | 1 | -1/+1 |
| | | | | new redirect of http://www.python.org/ to https://www.python.org. | ||||
* | update logo url (#20695) | Benjamin Peterson | 2014-02-19 | 1 | -1/+1 |
| | |||||
* | Issue #19936: Added executable bits or shebang lines to Python scripts which | Serhiy Storchaka | 2014-01-16 | 1 | -2/+0 |
| | | | | | | 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. | ||||
* | Issue #19572: More silently skipped tests explicitly skipped. | Zachary Ware | 2013-12-10 | 1 | -5/+2 |
| | |||||
* | Avoid failing in test_urllibnet.test_bad_address when some overzealous | Antoine Pitrou | 2011-07-08 | 1 | -0/+8 |
| | | | | | DNS service (e.g. OpenDNS) resolves a non-existent domain name. The test is now skipped instead. | ||||
* | Fix issue8582: urllib.urlretrieve fails with ValueError: Invalid format string | Senthil Kumaran | 2010-05-01 | 1 | -0/+13 |
| | |||||
* | Replace catch_warnings with check_warnings when it makes sense. Use ↵ | Florent Xicluna | 2010-03-31 | 1 | -4/+2 |
| | | | | assertRaises context manager to simplify some tests. | ||||
* | #7092: silence py3k warnings for deprecated modules | Ezio Melotti | 2010-01-30 | 1 | -1/+1 |
| | |||||
* | use assert[Not]IsInstance where appropriate | Ezio Melotti | 2010-01-24 | 1 | -9/+9 |
| | |||||
* | Reverting the Revision: 77368. I committed Flox's big patch for tests by | Senthil Kumaran | 2010-01-08 | 1 | -1/+1 |
| | | | | mistake. ( It may come in for sure tough) | ||||
* | Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵ | Senthil Kumaran | 2010-01-08 | 1 | -1/+1 |
| | | | | Patch by flox | ||||
* | convert usage of fail* to assert* | Benjamin Peterson | 2009-06-30 | 1 | -11/+11 |
| | |||||
* | modify other occurrence of test_bad_address | Antoine Pitrou | 2008-12-15 | 1 | -1/+1 |
| | |||||
* | warnings.catch_warnings() now returns a list or None instead of the custom | Brett Cannon | 2008-09-09 | 1 | -2/+2 |
| | | | | | | | | WarningsRecorder object. This makes the API simpler to use as no special object must be learned. Closes issue 3781. Review by Benjamin Peterson. | ||||
* | Handle urllib's renaming for Python 3.0: | Brett Cannon | 2008-07-02 | 1 | -3/+7 |
| | | | | | | | | * Deprecate urllib.urlopen() in favor of urllib2.urlopen() for 3.0. * Update docs to mention split/rename of the module and deprecation of urlopen(). Changes to lib2to3 are in a separate commit. Work is for issue #2885. | ||||
* | Prevent this test from failing if there are transient network problems | Neal Norwitz | 2008-01-26 | 1 | -10/+30 |
| | | | | by retrying the host for up to 3 times. | ||||
* | #1178141: add addinfourl.code to get http status code from urllib. | Georg Brandl | 2008-01-20 | 1 | -0/+10 |
| | |||||
* | Try to fix several networking tests. The problem is that if hosts have | Neal Norwitz | 2006-06-11 | 1 | -1/+1 |
| | | | | | | a search path setup, some of these hosts resolve to the wrong address. By appending a period to the hostname, the hostname should only resolve to what we want it to resolve to. Hopefully this doesn't break different bots. | ||||
* | SF patch 809915: Fix bogus address to hopefully always break. | Tim Peters | 2003-09-20 | 1 | -1/+8 |
| | | | | | | | test_bad_address(): Recover from that VeriSign thought it would boost its corporate coffers to start resolving http://www.sadflkjsasadf.com/. Bugfix candidate -- although the bug is more VeriSign's than Python's! | ||||
* | Reflow long line. | Jeremy Hylton | 2003-07-17 | 1 | -2/+2 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2003-06-15 | 1 | -1/+1 |
| | |||||
* | test_fileno(): Skip this test on Windows. | Tim Peters | 2003-05-16 | 1 | -13/+17 |
| | |||||
* | Fleshed out tests for urllib requiring a network connection. | Brett Cannon | 2003-05-14 | 1 | -3/+123 |
| | |||||
* | Combine the functionality of test_support.run_unittest() | Walter Dörwald | 2003-05-01 | 1 | -4/+1 |
| | | | | | | | | | | and test_support.run_classtests() into run_unittest() and use it wherever possible. Also don't use "from test.test_support import ...", but "from test import test_support" in a few spots. From SF patch #662807. | ||||
* | The socket module now always uses the _socketobject wrapper class, even on | Skip Montanaro | 2003-03-30 | 1 | -0/+32 |
platforms which have dup(2). The makefile() method is built directly on top of the socket without duplicating the file descriptor, allowing timeouts to work properly. Includes a new test case (urllibnet) which requires the network resource. Closes bug 707074. |