summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 85469 via svnmerge fromAntoine Pitrou2010-10-142-5/+22
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85469 | antoine.pitrou | 2010-10-14 13:12:00 +0200 (jeu., 14 oct. 2010) | 3 lines Inherit interpreter flags in parallel testing ........
* Implement #7944. Use `with` throughout the test suite.Brian Curtin2010-10-141-18/+17
|
* Merged revisions 85403 via svnmerge fromBrian Curtin2010-10-141-122/+97
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85403 | brian.curtin | 2010-10-12 21:56:26 -0500 (Tue, 12 Oct 2010) | 2 lines Implement #7944. Use `with` throughout the test suite. ........
* Merged revisions 85401 via svnmerge fromBrian Curtin2010-10-141-22/+17
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85401 | brian.curtin | 2010-10-12 21:29:46 -0500 (Tue, 12 Oct 2010) | 3 lines Implement #7944. Use `with` throughout the test suite. ........
* Merged revisions 85400 via svnmerge fromBrian Curtin2010-10-131-117/+105
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85400 | brian.curtin | 2010-10-12 21:21:42 -0500 (Tue, 12 Oct 2010) | 2 lines Implement #7944. Use `with` throughout the test suite. ........
* Merged revisions 85423 via svnmerge fromAntoine Pitrou2010-10-131-1/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85423 | antoine.pitrou | 2010-10-13 19:14:16 +0200 (mer., 13 oct. 2010) | 3 lines Protect test_smtpnet against connection failures ........
* Merged revisions 85392 via svnmerge fromBenjamin Peterson2010-10-121-1/+16
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85392 | benjamin.peterson | 2010-10-12 17:57:59 -0500 (Tue, 12 Oct 2010) | 1 line prefer clearing global objects to obscure module.__dict__ bugs #10068 ........
* Don't run xpickle tests when the reference interpreter doesn't have test_supportAntoine Pitrou2010-10-101-2/+3
| | | | (see AMD64 Gentoo buildbot)
* Merged revisions 85315 via svnmerge fromHirokazu Yamamoto2010-10-082-2/+20
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85315 | hirokazu.yamamoto | 2010-10-08 17:38:15 +0900 | 1 line Issue #9978: Wait until subprocess completes initialization. (Win32KillTests in test_os) ........
* Merged revisions 85299 via svnmerge fromBrian Curtin2010-10-071-18/+12
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85299 | brian.curtin | 2010-10-06 20:12:19 -0500 (Wed, 06 Oct 2010) | 9 lines Fix #8584. Fix the skipping of a number of tests due to incorrect importing. This undoes a previous attempt to fix some of the skips. Value and copy come from sharedctypes rather than plain ctypes, and the test skipping is then done at the class level rather than test-by-test. There are zero skipped tests after the fix. ........
* Merged revisions 85291 via svnmerge fromAntoine Pitrou2010-10-061-0/+22
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85291 | antoine.pitrou | 2010-10-06 23:21:18 +0200 (mer., 06 oct. 2010) | 4 lines Issue #9759: GzipFile now raises ValueError when an operation is attempted after the file is closed. Patch by Jeffrey Finkelstein. ........
* Merged revisions 85223 via svnmerge fromÉric Araujo2010-10-041-0/+31
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85223 | eric.araujo | 2010-10-05 01:52:37 +0200 (mar., 05 oct. 2010) | 3 lines Fix interaction of custom translation classes and caching (#9042) ........
* Merged revisions 85205 via svnmerge fromSenthil Kumaran2010-10-031-2/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85205 | senthil.kumaran | 2010-10-03 23:52:42 +0530 (Sun, 03 Oct 2010) | 3 lines Fix Issue10012 - httplib headers, which are (sometimes mistakenly) int are explicitly cast to str (bytes - in py3k). ........
* Merged revisions 85202 via svnmerge fromSenthil Kumaran2010-10-031-0/+7
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85202 | senthil.kumaran | 2010-10-03 23:25:45 +0530 (Sun, 03 Oct 2010) | 4 lines Fix Issue9272 - Change CGIHTTPServer to give the child program a copy of os.environ ........
* Merged revisions 85154 via svnmerge fromBenjamin Peterson2010-10-021-0/+7
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85154 | benjamin.peterson | 2010-10-01 19:03:31 -0500 (Fri, 01 Oct 2010) | 1 line type.__abstractmethods__ should raise an AttributeError #10006 ........
* Merged revisions 85140 via svnmerge fromBrian Curtin2010-10-011-6/+6
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85140 | brian.curtin | 2010-10-01 09:49:24 -0500 (Fri, 01 Oct 2010) | 4 lines Fix #10003. Add SIGBREAK to the set of valid signals on Windows. This fixes a regression noticed by bzr, introduced by issue #9324. ........
* Added BaseHTTPRequestHandler related tests.Senthil Kumaran2010-09-301-4/+82
|
* Merged revisions 85109 via svnmerge fromBrian Curtin2010-09-291-2/+2
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85109 | brian.curtin | 2010-09-29 09:51:42 -0500 (Wed, 29 Sep 2010) | 4 lines Fix #9978. WINFUNCTYPE is from ctypes, not from ctypes.wintypes. r85073 changed the importing in wintypes to not use *, so the previous usage here became even more incorrect. ........
* Merged revisions 85032 via svnmerge fromAntoine Pitrou2010-09-271-0/+37
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85032 | antoine.pitrou | 2010-09-27 19:52:25 +0200 (lun., 27 sept. 2010) | 6 lines Issue #9950: Fix socket.sendall() crash or misbehaviour when a signal is received. Now sendall() properly calls signal handlers if necessary, and retries sending if these returned successfully, including on sockets with a timeout. ........
* Merged revisions 85025 via svnmerge fromSenthil Kumaran2010-09-271-0/+12
| | | | | | | | | | | | | 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. ........
* Merged revisions 85000 via svnmerge fromAlexander Belopolsky2010-09-261-0/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85000 | alexander.belopolsky | 2010-09-24 18:04:22 -0400 (Fri, 24 Sep 2010) | 1 line This should fix buildbot failure introduced by r84994 ........
* Issue #9869: Make long() and PyNumber_Long return something of typeMark Dickinson2010-09-262-1/+17
| | | | | | | long for a class whose __long__ method returns a plain int. This fixes an interpreter crash (due to long_subtype_new assuming PyNumber_Long returns a long) when initializing an instance of a long subclass from an object whose __long__ method returns a plain int.
* Merged revisions 84997 via svnmerge fromAntoine Pitrou2010-09-241-20/+14
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84997 | antoine.pitrou | 2010-09-24 20:57:01 +0200 (ven., 24 sept. 2010) | 3 lines Make _kill_process more robust under Windows too (see issue #8432) ........
* Merged revisions 84994 via svnmerge fromAlexander Belopolsky2010-09-242-3/+28
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84994 | alexander.belopolsky | 2010-09-24 14:03:12 -0400 (Fri, 24 Sep 2010) | 1 line Issue #9936: Fixed executable lines' search in the trace module. ........
* Issue #9287: Minor fix in test_file2k.OtherFileTests.testOpenDirHirokazu Yamamoto2010-09-231-1/+1
|
* Fix Issue1327971: HTTPResponse should expose a proper fileno attributeSenthil Kumaran2010-09-212-0/+18
|
* Merged revisions 84909-84913 via svnmerge fromAntoine Pitrou2010-09-202-21/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84909 | antoine.pitrou | 2010-09-20 00:46:05 +0200 (lun., 20 sept. 2010) | 3 lines Try to fix test_subprocess on "x86 debian parallel 3.x" buildbot ........ r84910 | antoine.pitrou | 2010-09-20 01:06:53 +0200 (lun., 20 sept. 2010) | 3 lines Try to make signal-sending tests in test_subprocess more robust on slow machines ........ r84911 | antoine.pitrou | 2010-09-20 01:28:30 +0200 (lun., 20 sept. 2010) | 3 lines Make error more explicit in test_finalize_with_trace ........ r84912 | antoine.pitrou | 2010-09-20 02:12:19 +0200 (lun., 20 sept. 2010) | 3 lines Try to fix buildbot failure (#9902) ........ r84913 | antoine.pitrou | 2010-09-20 03:33:21 +0200 (lun., 20 sept. 2010) | 3 lines Try a more robust implementation of _kill_process ........
* Merged revisions 84883 via svnmerge fromAntoine Pitrou2010-09-181-12/+32
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84883 | antoine.pitrou | 2010-09-19 00:38:48 +0200 (dim., 19 sept. 2010) | 3 lines Issue #9895: speed up test_subprocess ........
* Merged revisions 84878 via svnmerge fromAntoine Pitrou2010-09-181-1/+1
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84878 | antoine.pitrou | 2010-09-18 19:56:02 +0200 (sam., 18 sept. 2010) | 5 lines Issue #9894: Do not hardcode ENOENT in test_subprocess. (GNU/Hurd is not dead) ........
* Merged revisions 84814 via svnmerge fromAntoine Pitrou2010-09-141-10/+34
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84814 | antoine.pitrou | 2010-09-14 20:37:24 +0200 (mar., 14 sept. 2010) | 4 lines Issue #9854: The default read() implementation in io.RawIOBase now handles non-blocking readinto() returning None correctly. ........
* Issue #9729: Fix the signature of SSLSocket.recvfrom() andAntoine Pitrou2010-09-141-0/+13
| | | | | | | | | SSLSocket.sendto() to match the corresponding socket methods. Also, fix various SSLSocket methods to raise socket.error rather than an unhelpful TypeError when called on an unconnected socket. Original patch by Andrew Bennetts. NOTE: obviously, these methods are untested and unused in the real world...
* Some tests didn't get executed (because of the merge in r83728)Antoine Pitrou2010-09-141-1/+1
|
* Issue 9826: OrderedDict.__repr__ did not play well with self-referencing dicts.Raymond Hettinger2010-09-131-0/+7
|
* Removed debugging settingAlexander Belopolsky2010-09-131-1/+1
|
* Merged revisions 83524,84776 via svnmerge fromFlorent Xicluna2010-09-131-1/+7
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83524 | georg.brandl | 2010-08-02 14:20:23 +0200 (lun., 02 août 2010) | 1 line #9428: fix running scripts from profile/cProfile with their own name and the right namespace. Same fix as for trace.py in #1690103. ........ r84776 | florent.xicluna | 2010-09-13 18:35:02 +0200 (lun., 13 sept. 2010) | 1 line Make test.regrtest.__file__ absolute, this was not always the case when running profile or trace, for example. (issue #9323) ........
* Issue #9315: Fix for the trace module to record correct class nameAlexander Belopolsky2010-09-133-0/+327
| | | | when tracing methods. Unit tests. Patch by Eli Bendersky.
* Strengthen test_unicode with explicit type checking for assertEqual tests.Florent Xicluna2010-09-132-9/+23
|
* Check PendingDeprecationWarning after issue #7994.Florent Xicluna2010-09-132-8/+14
|
* Silence warning about 1/0Florent Xicluna2010-09-131-1/+1
|
* Merged revisions 84470-84471,84566-84567,84759 via svnmerge fromFlorent Xicluna2010-09-133-22/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84470 | florent.xicluna | 2010-09-03 22:00:37 +0200 (ven., 03 sept. 2010) | 1 line Strengthen BytesWarning tests. ........ r84471 | florent.xicluna | 2010-09-03 22:23:40 +0200 (ven., 03 sept. 2010) | 1 line Typo ........ r84566 | florent.xicluna | 2010-09-06 22:27:15 +0200 (lun., 06 sept. 2010) | 1 line typo ........ r84567 | florent.xicluna | 2010-09-06 22:27:55 +0200 (lun., 06 sept. 2010) | 1 line typo ........ r84759 | florent.xicluna | 2010-09-13 04:28:18 +0200 (lun., 13 sept. 2010) | 1 line Reenable test_ucs4 and remove some duplicated lines. ........
* Merged revisions 84737 via svnmerge fromAntoine Pitrou2010-09-121-0/+20
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84737 | antoine.pitrou | 2010-09-12 16:51:20 +0200 (dim., 12 sept. 2010) | 4 lines Issue #9837: The read() method of ZipExtFile objects (as returned by ZipFile.open()) could return more bytes than requested. ........
* Recorded merge of revisions 83987 via svnmerge fromVictor Stinner2010-09-102-11/+11
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83987 | victor.stinner | 2010-08-14 00:23:24 +0200 (sam., 14 août 2010) | 2 lines Fix a typo: TESTFN_UNENCODEABLE => TESTFN_UNENCODABLE ........
* Issue 9816: Random.jumpahead(n) didn't work well for small values of n.Raymond Hettinger2010-09-101-2/+0
|
* Merged revisions 84650 via svnmerge fromAntoine Pitrou2010-09-091-78/+76
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84650 | antoine.pitrou | 2010-09-09 15:31:46 +0200 (jeu., 09 sept. 2010) | 4 lines Use transient_internet() where appropriate in test_ssl (svn.python.org is sometimes unavailable) ........
* StdoutTests.test_unicode(): avoid newlines to fix the test on windowsVictor Stinner2010-09-081-8/+13
| | | | | | * Add also a test for utf-8 * Add some comments * Flush stdout for the buffer API tests
* Issue #4947: The write() method of sys.stdout and sys.stderr uses theirVictor Stinner2010-09-081-0/+33
| | | | | encoding and errors attributes instead of using utf-8 in strict mode, to get the same behaviour than the print statement.
* Merged revisions 84604 via svnmerge fromAntoine Pitrou2010-09-071-1/+10
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84604 | antoine.pitrou | 2010-09-07 23:43:31 +0200 (mar., 07 sept. 2010) | 3 lines Also catch some gaierrors ........
* Merged revisions 84597-84599 via svnmerge fromAntoine Pitrou2010-09-075-44/+99
| | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84597 | antoine.pitrou | 2010-09-07 22:42:19 +0200 (mar., 07 sept. 2010) | 5 lines Issue #8574: better implementation of test.support.transient_internet(). Original patch by Victor. ........ r84598 | antoine.pitrou | 2010-09-07 23:05:49 +0200 (mar., 07 sept. 2010) | 6 lines Issue #9792: In case of connection failure, socket.create_connection() would swallow the exception and raise a new one, making it impossible to fetch the original errno, or to filter timeout errors. Now the original error is re-raised. ........ r84599 | antoine.pitrou | 2010-09-07 23:09:09 +0200 (mar., 07 sept. 2010) | 4 lines Improve transient_internet() again to detect more network errors, and use it in test_robotparser. Fixes #8574. ........
* Merged revisions 84589 via svnmerge fromAntoine Pitrou2010-09-071-5/+26
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84589 | antoine.pitrou | 2010-09-07 18:30:09 +0200 (mar., 07 sept. 2010) | 5 lines Issue #9758: When fcntl.ioctl() was called with mutable_flag set to True, and the passed buffer was exactly 1024 bytes long, the buffer wouldn't be updated back after the system call. Original patch by Brian Brazil. ........
* Merged revisions 84556 via svnmerge fromBrian Curtin2010-09-061-3/+2
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84556 | brian.curtin | 2010-09-06 11:04:10 -0500 (Mon, 06 Sep 2010) | 7 lines Clean up the fix to #9324 with some of the suggestions raised on python-dev in response to the original checkin. Move the validation from the original loop into a switch statement, and adjust a platform check in the tests. ........