summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_urllib2_localnet.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-31258: test_urllib2_localnet uses addCleanup(server.stop) (#3184)Victor Stinner2017-08-221-90/+57
| | | | Use self.addCleanup(self.server.stop) to stop the HTTP server. Some tests didn't stop the server like test_https().
* Issue #28435: Avoid no_proxy environment variable interfering with testsMartin Panter2016-10-221-0/+8
| | | | Patch by Piotr Szczepaniak.
* Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Martin Panter2016-09-071-1/+1
|
* remove extra ssl imports (closes #23053)Benjamin Peterson2014-12-151-2/+0
| | | | Patch from Jan Matejek.
* pep 476: verify certificates by default (#22417)Benjamin Peterson2014-11-241-2/+25
|
* allow passing cert/ssl information to urllib2.urlopen and ↵Benjamin Peterson2014-11-231-1/+58
| | | | | | httplib.HTTPSConnection This is basically a backport of issues #9003 and #22366.
* Fix Issue #8797: Raise HTTPError on failed Basic Authentication immediately. ↵Senthil Kumaran2014-08-201-1/+82
| | | | Initial patch by Sam Bull.
* backout changeset e0510a3bdf8f - due to buildbot failures. Ref: Issue #8797Senthil Kumaran2014-08-161-85/+1
|
* Fix Issue #8797: Raise HTTPError on failed Basic Authentication immediately. ↵Senthil Kumaran2014-08-161-1/+85
| | | | Initial patch by Sam Bull.
* Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-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.
* #17564: skip test_bad_address unless the tests are run with -unetwork/-uall.Ezio Melotti2013-03-291-0/+5
|
* Issue #16702: Skip proxies for localhost in urllib2_localnet testsSenthil Kumaran2012-12-261-0/+8
|
* Merged revisions 86596 via svnmerge fromEzio Melotti2010-11-211-8/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........
* Merged revisions 83833,83838-83839,83859,83878 via svnmerge fromFlorent Xicluna2010-08-091-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83833 | florent.xicluna | 2010-08-08 18:25:27 +0200 (dim., 08 août 2010) | 2 lines Add test case for the HTTPResponse being an iterable. Follow-up of issue #4608. ........ r83838 | florent.xicluna | 2010-08-08 20:03:44 +0200 (dim., 08 août 2010) | 2 lines Typo. ........ r83839 | florent.xicluna | 2010-08-08 20:06:13 +0200 (dim., 08 août 2010) | 2 lines Issue #7564: Skip test_ioctl if another process is attached to /dev/tty. ........ r83859 | florent.xicluna | 2010-08-09 00:07:16 +0200 (lun., 09 août 2010) | 2 lines Fix #8530: Prevent stringlib fastsearch from reading beyond the front of an array. ........ r83878 | florent.xicluna | 2010-08-09 10:29:08 +0200 (lun., 09 août 2010) | 1 line Merge the 2to3 script from /sandbox/trunk/2to3/2to3, revision 72867 (latest). ........
* Issue #7449, last part (11): fix many tests if thread support is disabledVictor Stinner2010-04-271-1/+1
| | | | | | * Use try/except ImportError or test_support.import_module() to import thread and threading modules * Add @unittest.skipUnless(threading, ...) to testcases using threads
* Various tests cleanup: check_warnings/check_py3k_warnings, unittest.assert* ↵Florent Xicluna2010-03-191-0/+2
| | | | and setUp/tearDown.
* #7092: silence py3k warnings for deprecated modulesEzio Melotti2010-01-301-3/+3
|
* use assert[Not]IsInstance where appropriateEzio Melotti2010-01-241-3/+3
|
* Reverting the Revision: 77368. I committed Flox's big patch for tests bySenthil Kumaran2010-01-081-3/+3
| | | | mistake. ( It may come in for sure tough)
* Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵Senthil Kumaran2010-01-081-3/+3
| | | | Patch by flox
* Fix transient refleaks in test_urllib2_localnet.Antoine Pitrou2009-10-271-2/+10
|
* Prevent test_bad_address failure when a domain in the dns searchR. David Murray2009-09-281-8/+18
| | | | | | path implements a '*' default rule. Also update comment with a more complete explanation of the difficulties inherent in the test.
* convert usage of fail* to assert*Benjamin Peterson2009-06-301-3/+3
|
* Issue 6032: fix refleaks in test_urllib2_localnet.Collin Winter2009-05-181-17/+21
|
* try to fix failure in test_bad_address on some buildbotsAntoine Pitrou2008-12-141-1/+1
|
* This patch moves some tests from test_urllib2_net to test_urllib2_localnet.Gregory P. Smith2008-03-281-1/+201
| | | | | | | | The moved tests use a local server rather than going out to external servers. Accepts patch from issue2429. Contributed by Jerry Seutter & Michael Foord (fuzzyman) at PyCon 2008.
* Patch #2167 from calvin: Remove unused importsChristian Heimes2008-02-231-1/+0
|
* More buildbot cleanup - let the OS assign the port for test_urllib2_localnetNick Coghlan2007-07-251-29/+11
|
* Prevent hang if the port cannot be opened.Neal Norwitz2007-06-111-6/+15
|
* Patch #1667860: Fix UnboundLocalError in urllib2.Georg Brandl2007-06-071-0/+301