summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Fixes #12637: Merged fix from 3.2 and added test.Vinay Sajip2011-07-251-0/+2
|\
* \ Add a test for issue #1813: getlocale() failing under a Turkish localeAntoine Pitrou2011-07-242-0/+27
|\ \ | |/ | | | | (not a problem under 3.x)
| * Add a test for issue #1813: getlocale() failing under a Turkish localeAntoine Pitrou2011-07-241-0/+13
| | | | | | | | (not a problem under 3.x)
| * Issue #1813: Fix codec lookup under Turkish locales.Antoine Pitrou2011-07-241-0/+14
| |
* | Issue #12624: It is now possible to fail after the first failure whenAntoine Pitrou2011-07-232-8/+19
|\ \ | |/ | | | | | | | | running in verbose mode (`-v` or `-W`), by using the `--failfast` (or `-G`) option to regrtest. This is useful with long test suites such as test_io or test_subprocess.
| * Issue #12624: It is now possible to fail after the first failure whenAntoine Pitrou2011-07-232-8/+19
| | | | | | | | | | | | running in verbose mode (`-v` or `-W`), by using the `--failfast` (or `-G`) option to regrtest. This is useful with long test suites such as test_io or test_subprocess.
* | Issue #12591: Improve support of "universal newlines" in the subprocessAntoine Pitrou2011-07-231-16/+48
|\ \ | |/ | | | | module: the piped streams can now be properly read from or written to.
| * Issue #12591: Improve support of "universal newlines" in the subprocessAntoine Pitrou2011-07-231-16/+48
| | | | | | | | | | | | | | module: the piped streams can now be properly read from or written to. (this was broken due to the 2.x to 3.x transition; communicate() support is still sketchy)
* | Issue #12591: Allow io.TextIOWrapper to work with raw IO objects (withoutAntoine Pitrou2011-07-231-0/+21
|\ \ | |/ | | | | | | a read1() method), and add a *write_through* parameter to mandate unbuffered writes.
| * Issue #12591: Allow io.TextIOWrapper to work with raw IO objects (withoutAntoine Pitrou2011-07-231-0/+21
| | | | | | | | | | a read1() method), and add an undocumented *write_through* parameter to mandate unbuffered writes.
* | Merge: #10883: Fix socket leaks in urllib.request.Nadeem Vawda2011-07-232-0/+2
|\ \ | |/ | | | | | | | | | | | | * 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.
| * Issue #10883: Fix socket leaks in urllib.request.Nadeem Vawda2011-07-232-0/+2
| | | | | | | | | | | | | | | | * 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.
* | Issue #11049: skip a test that fails on some buildbotsEli Bendersky2011-07-231-0/+1
| |
* | merge from 3.2 - Fix closes issue12581 - Increase the urllib.parse test ↵Senthil Kumaran2011-07-231-2/+76
|\ \ | |/ | | | | coverage. Patch by Petter Haggholm.
| * Fix closes issue12581 - Increase the urllib.parse test coverage. Patch by ↵Senthil Kumaran2011-07-231-2/+76
| | | | | | | | Petter Haggholm.
* | fixing whitespace in the previous commitEli Bendersky2011-07-231-10/+9
| |
* | Issue #11049: adding some tests to test.supportEli Bendersky2011-07-232-10/+189
| | | | | | | | Based on original patch by Giampaolo Rodola with contributions from R. David Murray
* | merge 3.2Benjamin Peterson2011-07-221-0/+14
|\ \ | |/
| * type check AST strings and identifiersBenjamin Peterson2011-07-221-0/+14
| | | | | | | | This is related to a21829180423 as well as #12609 and #12610.
* | Issue #12551: Provide a get_channel_binding() method on SSL sockets so asAntoine Pitrou2011-07-201-0/+91
| | | | | | | | | | | | | | | | to get channel binding data for the current SSL session (only the "tls-unique" channel binding is implemented). This allows the implementation of certain authentication mechanisms such as SCRAM-SHA-1-PLUS. Patch by Jacek Konieczny.
* | #665194: support roundtripping RFC2822 date stamps in the email.utils moduleR David Murray2011-07-201-0/+45
| |
* | Issue #12587: Correct faulty test file and reference in test_tokenize.Ned Deily2011-07-192-2/+2
|\ \ | |/ | | | | (Patch by Robert Xiao)
| * Issue #12587: Correct faulty test file and reference in test_tokenize.Ned Deily2011-07-192-2/+2
| | | | | | | | (Patch by Robert Xiao)
* | Merge #7484: no more <> around addresses in VRFY or EXPNR David Murray2011-07-191-9/+24
|\ \ | |/
| * #7484: no more <> around addresses in VRFY or EXPNR David Murray2011-07-191-9/+24
| | | | | | | | | | | | | | | | | | The RFC doesn't say that they are allowed; apparently many mailers accept them, but not postfix. Contributions to this patch were made by Felipe Cruz and Catalin Iacob. The changeset also adds additional indirect tests for quoteaddr (null address and IDNA-encoded address).
* | Merge from 3.2.Eric V. Smith2011-07-181-0/+5
|\ \ | |/
| * Closes #12579. Positional fields with str.format_map() now raise a ↵Eric V. Smith2011-07-181-0/+5
| | | | | | | | ValueError instead of SystemError.
* | merge headsBenjamin Peterson2011-07-182-12/+23
|\ \
| * | Make warnings accept a callable for showwarnings instead ofBrett Cannon2011-07-181-6/+8
| | | | | | | | | | | | | | | | | | | | | restricting itself to just functions and methods (which allows built-in functions to be used, etc.). Closes issue #10271. Thanks to lekma for the bug report.
| * | Mark itertools tests of tuple reuse as being specific to CPython.Alex Gaynor2011-07-171-6/+15
| | |
* | | excise the remains of STOP_CODE, which hasn't done anything useful for yearsBenjamin Peterson2011-07-181-1/+1
|/ /
* | Fix potential resource leaks in concurrent.futures.ProcessPoolExecutorAntoine Pitrou2011-07-151-1/+2
| | | | | | | | by joining all queues and processes when shutdown() is called.
* | Fix whitespaceAntoine Pitrou2011-07-151-1/+0
| |
* | test_threaded_import must clean up after itselfAntoine Pitrou2011-07-152-9/+16
| |
* | test_os needs to reap threadsAntoine Pitrou2011-07-151-0/+1
| |
* | Merge from 3.2Antoine Pitrou2011-07-152-27/+39
|\ \ | |/
| * Use test.script_helper in test_pydocAntoine Pitrou2011-07-151-11/+13
| |
| * test_pydoc needs to cleanup after itselfAntoine Pitrou2011-07-151-13/+16
| |
| * Try harder to reap dangling threads in test.support.reap_threads().Antoine Pitrou2011-07-151-6/+13
| |
* | Issue #12573: Add resource checks for dangling Thread and Process objects.Antoine Pitrou2011-07-151-1/+36
|\ \ | |/
| * Issue #12573: Add resource checks for dangling Thread and Process objects.Antoine Pitrou2011-07-151-1/+36
| |
| * MergeAntoine Pitrou2011-07-151-0/+8
| |\
| * \ merge headsBenjamin Peterson2011-07-151-9/+13
| |\ \
* | \ \ MergeAntoine Pitrou2011-07-151-0/+8
|\ \ \ \
| * \ \ \ Issue #11603: Fix a crash when __str__ is rebound as __repr__.Antoine Pitrou2011-07-151-0/+8
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | Patch by Andreas Stührk.
| | * | | Issue #11603: Fix a crash when __str__ is rebound as __repr__.Antoine Pitrou2011-07-151-0/+8
| | |\ \ \ | | | |_|/ | | |/| | | | | | | Patch by Andreas Stührk.
| | | * | Issue #11603: Fix a crash when __str__ is rebound as __repr__.Antoine Pitrou2011-07-151-0/+8
| | | | | | | | | | | | | | | | | | | | Patch by Andreas Stührk.
* | | | | merge headsBenjamin Peterson2011-07-151-9/+13
|\ \ \ \ \ | |/ / / /
| * | | | Make sure to reap worker threads and processes at the end of ↵Antoine Pitrou2011-07-151-9/+13
| |\ \ \ \ | | |/ / / | | | | | | | | | | test_concurrent_futures
| | * | | Make sure to reap worker threads and processes at the end of ↵Antoine Pitrou2011-07-151-9/+13
| | | | | | | | | | | | | | | | | | | | test_concurrent_futures