Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make test.test_support.EnvironmentVarGuard behave like a dictionary. | Walter Dörwald | 2009-05-01 | 1 | -1/+1 |
| | | | | | All changes are mirrored to the underlying os.environ dict, but rolled back on exit from the with block. | ||||
* | Use test.test_support.EnvironmentVarGuard where tests change environment vars. | Walter Dörwald | 2009-04-26 | 1 | -8/+8 |
| | |||||
* | Fix for the Issue918368 - urllib doesn't correct server returned urls | Senthil Kumaran | 2009-04-21 | 1 | -0/+13 |
| | |||||
* | Fix for bugs: Issue4675 and Issue4962. | Senthil Kumaran | 2009-03-30 | 1 | -0/+17 |
| | |||||
* | make sure to call iteritems() | Benjamin Peterson | 2008-10-21 | 1 | -3/+1 |
| | |||||
* | #3879 fix a regression in urllib.getproxies_environment | Benjamin Peterson | 2008-09-21 | 1 | -0/+26 |
| | | | | reviewers: Benjamin, Georg | ||||
* | warnings.catch_warnings() now returns a list or None instead of the custom | Brett Cannon | 2008-09-09 | 1 | -1/+1 |
| | | | | | | | | 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 | -10/+14 |
| | | | | | | | | * 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. | ||||
* | Fixed the semantic of timeout for socket.create_connection and | Facundo Batista | 2008-05-29 | 1 | -16/+24 |
| | | | | | | all the upper level libraries that use it, including urllib2. Added and fixed some tests, and changed docs correspondingly. Thanks to John J Lee for the patch and the pusing, :) | ||||
* | Patch #2167 from calvin: Remove unused imports | Christian Heimes | 2008-02-23 | 1 | -4/+0 |
| | |||||
* | #1178141: add addinfourl.code to get http status code from urllib. | Georg Brandl | 2008-01-20 | 1 | -1/+6 |
| | |||||
* | Change docstrings to comments so test output will display normally. | Kurt B. Kaiser | 2008-01-02 | 1 | -3/+3 |
| | |||||
* | Issue1177 | Kurt B. Kaiser | 2008-01-02 | 1 | -0/+13 |
| | | | | | | | r58207 and r58247 patch logic is reversed. I noticed this when I tried to use urllib to retrieve a file which required auth. Fix that and add a test for 401 error to verify. | ||||
* | Get test passing again by commenting out the reference to the test class. | Neal Norwitz | 2007-05-25 | 1 | -1/+1 |
| | |||||
* | Commenting out the tests until find out who can test them in | Facundo Batista | 2007-05-25 | 1 | -61/+69 |
| | | | | one of the problematic enviroments. | ||||
* | Fixing stupid error, and introducing a sleep, to see if the | Facundo Batista | 2007-05-25 | 1 | -1/+1 |
| | | | | other thread is awakened and finish sending data. | ||||
* | Trying to make the tests work in Windows and Solaris, everywhere | Facundo Batista | 2007-05-25 | 1 | -11/+13 |
| | | | | else just works | ||||
* | Let's see if reading exactly what is written allow this live | Facundo Batista | 2007-05-24 | 1 | -0/+1 |
| | | | | | test to pass (now I know why there were so few tests in ftp, http, etc, :( ). | ||||
* | Removed the .recv() in the test, is not necessary, and was | Facundo Batista | 2007-05-24 | 1 | -1/+0 |
| | | | | | causing problems that didn't have anything to do with was actually being tested... | ||||
* | Added an optional timeout parameter to urllib.ftpwrapper, with tests | Facundo Batista | 2007-05-24 | 1 | -1/+66 |
| | | | | | | (for this and a basic one, because there weren't any). Changed also NEWS, but didn't find documentation for this function, assumed it wasn't public... | ||||
* | Patch #1695862: remove the cleanup code, now that Windows buildbots are green | Žiga Seilnacht | 2007-04-12 | 1 | -17/+0 |
| | | | | again. | ||||
* | Patch #1695862: remove old test directory that causes test_urllib failures | Žiga Seilnacht | 2007-04-09 | 1 | -0/+14 |
| | | | | | on Windows buildbots. The change is a one time fix and will be removed after a successful buildbot run. | ||||
* | Try to make this test more resistant to dropping from previous runs (ie, ↵ | Neal Norwitz | 2007-03-20 | 1 | -0/+3 |
| | | | | files that may exist but cause the test to fail). Should be backported (assuming it works :-) | ||||
* | Bug #767111: fix long-standing bug in urllib which caused an | Georg Brandl | 2007-03-14 | 1 | -0/+9 |
| | | | | | AttributeError instead of an IOError when the server's response didn't contain a valid HTTP status line. | ||||
* | Teach unquote() to handle unicode inputs | Raymond Hettinger | 2005-10-15 | 1 | -0/+4 |
| | |||||
* | Revert 1.170. Add tests. | Raymond Hettinger | 2005-09-10 | 1 | -0/+6 |
| | |||||
* | patch [ 810023 ] Fix for off-by-one bug in urllib.URLopener.retrieve | Georg Brandl | 2005-08-26 | 1 | -9/+93 |
| | |||||
* | Docstring grammar fix | Andrew M. Kuchling | 2004-06-29 | 1 | -1/+1 |
| | |||||
* | Fix a bug that robotparser starves memory when the server responses | Hye-Shik Chang | 2004-06-05 | 1 | -0/+34 |
| | | | | | in HTTP/0.9 due to dissonance of httplib.LineAndFileWrapper and urllib.addbase. | ||||
* | Whitespace normalization. | Tim Peters | 2003-05-12 | 1 | -10/+10 |
| | |||||
* | Combine the functionality of test_support.run_unittest() | Walter Dörwald | 2003-05-01 | 1 | -8/+8 |
| | | | | | | | | | | 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. | ||||
* | Added tests for urlretrieve. Also made sure urlopen tests cleaned up ↵ | Brett Cannon | 2003-04-29 | 1 | -8/+48 |
| | | | | properly after themselves. | ||||
* | Fix the tests on Windows, by writing the test data file in binary | Guido van Rossum | 2003-04-25 | 1 | -1/+1 |
| | | | | | | | | | mode. XXX I'm not convinced that this is the right solution -- arguably, on Windows, the _fileobject class should honor the mode argument and do newline translation. But it's never done that so I think there's no urgent need to fix this today. | ||||
* | Complete rewrite of module. Only has tests using temporary files; net tests | Brett Cannon | 2003-04-25 | 1 | -102/+376 |
| | | | | | | should go in test_urllibnet.py . Still need to write tests for _urlopener usage and urlretrieve. | ||||
* | Get rid of relative imports in all unittests. Now anything that | Barry Warsaw | 2002-07-23 | 1 | -1/+1 |
| | | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :) | ||||
* | added several more urlencode test cases - part of patch 103391 | Skip Montanaro | 2001-01-28 | 1 | -3/+60 |
| | |||||
* | added some tests for urlencode | Skip Montanaro | 2001-01-20 | 1 | -0/+16 |
| | |||||
* | urllib.py very recently changed to produce uppercase escapes, but no | Tim Peters | 2001-01-19 | 1 | -3/+8 |
| | | | | corresponding changes were made to its std test. | ||||
* | test_urllib is failing on Windows. I don't know why, but I can at least | Tim Peters | 2001-01-19 | 1 | -5/+5 |
| | | | | change the test to give a clue about *where* it's failing. | ||||
* | This patch removes all uses of "assert" in the regression test suite | Marc-André Lemburg | 2001-01-17 | 1 | -6/+7 |
| | | | | | | | and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum. | ||||
* | Make reindent.py happy (convert everything to 4-space indents!). | Fred Drake | 2000-10-23 | 1 | -2/+0 |
| | |||||
* | Remove "," from the list of always_safe characters. It is a reserved | Jeremy Hylton | 2000-09-14 | 1 | -0/+18 |
| | | | | | | | | | | character according to RFC 2396. Add some text to quote doc string that explains the quoting rules better. This closes SF Bug #114427. Add _fast_quote operation that uses a dictionary instead of a list when the standard set of safe characters is used. | ||||
* | fixes bug #111951 | Jeremy Hylton | 2000-08-31 | 1 | -0/+14 |
applies patch #101369 by Moshe Zadke use explicit list of always safe characters instead of string.letters add test case |