summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Make regrtest complain when -M and -j are used together.Nadeem Vawda2011-08-271-0/+2
| | | | | | | -j doesn't pass the memlimit on to child processes, so this doesn't work at present, and even if it did, running multiple bigmem tests at once would usually not be desirable (since you generally want to devote as much of the available RAM as possible to each test).
* A warning doesn't equate a failed testAntoine Pitrou2011-08-231-1/+0
| | | | (this broken -F with e.g. test_multiprocessing)
* Fix #11513: wrong exception handling for the case that GzipFile itself ↵Georg Brandl2011-08-131-0/+8
| | | | raises an IOError.
* tokenize is just broken on test_pep3131.pyBenjamin Peterson2011-08-131-0/+3
|
* normalization is different between unicode builds, so use a new non-BMP char ↵Benjamin Peterson2011-08-131-3/+12
| | | | and add normalization test
* in narrow builds, make sure to test codepoints as identifier characters ↵Benjamin Peterson2011-08-132-0/+4
| | | | | | (closes #12732) This fixes the use of Unicode identifiers outside the BMP in narrow builds.
* Branch mergeÉric Araujo2011-08-121-1/+2
|\
| * Test pipes.quote with a few non-ASCII characters (see #9723).Éric Araujo2011-08-091-1/+2
| | | | | | | | | | | | | | That pipes.quote thinks all non-ASCII characters need to be quoted may be a bug, but right now I’m committing this test to make sure I haven’t introduced a behavior change in 3.3 when I simplified the code to use a regex (in 5966eeb0457d).
* | Issue #12687: Fix a possible buffering bug when unpickling text mode ↵Antoine Pitrou2011-08-111-0/+13
| | | | | | | | (protocol 0, mostly) pickles.
* | Fix closes Issue10087 - fixing the output of calendar display in the html ↵Senthil Kumaran2011-08-111-0/+7
|/ | | | format. Patch by Chris Lambacher. Test Contributed by catherine.
* Fix closes issue12698 - make the no_proxy environment variable handling a ↵Senthil Kumaran2011-08-061-1/+3
| | | | bit lenient (accomodate spaces in between the items)
* change the redundant svn scheme urljoin test case to svn+ssh scheme.Senthil Kumaran2011-08-031-1/+1
|
* Fix closes issue12683 - urljoin to work with relative join of svn scheme.Senthil Kumaran2011-08-031-0/+2
|
* Fix closes Issue12676 - Invalid identifier used in TypeError message in ↵Senthil Kumaran2011-08-021-0/+7
| | | | | | http.client. Reported by Popa Claudiu and Patch by Santoso Wijaya.
* Skip test_getsetlocale_issue1813() on Fedora due to setlocale() bug.Stefan Krah2011-08-011-0/+3
| | | | See: https://bugzilla.redhat.com/show_bug.cgi?id=726536
* using support.transient_internet helper method in the urllib2net test.Senthil Kumaran2011-07-311-10/+14
|
* Issue #12626: In regrtest, allow to filter tests using a glob filterAntoine Pitrou2011-07-292-6/+32
| | | | | | with the `-m` (or `--match`) option. This works with all test cases using the unittest module. This is useful with long test suites such as test_io or test_subprocess.
* Issue #12464: tempfile.TemporaryDirectory.cleanup() should not follow symlinks:Charles-François Natali2011-07-291-0/+21
| | | | fix it. Patch by Petri Lehtinen.
* Make “pydoc somebuiltin.somemethod” work (#8887)Éric Araujo2011-07-291-0/+18
|
* Branch mergeÉric Araujo2011-07-292-26/+13
|\
| * Branch mergeÉric Araujo2011-07-285-5/+81
| |\
| * | Remove duplicates of cmp_to_key (#12542, reviewed by Raymond Hettinger)Éric Araujo2011-07-262-26/+13
| | |
* | | Issue #11871: In test_threading.BarrierTests, bump the default barrier timeoutCharles-François Natali2011-07-271-3/+3
| |/ |/| | | | | to avoid timing-dependent failures.
* | Issue #12607: In subprocess, fix issue where if stdin, stdout or stderr isRoss Lagerwall2011-07-271-0/+58
| | | | | | | | given as a low fd, it gets overwritten.
* | Fix closes Issue12576 - fix urlopen behavior on sites which do not send (or ↵Senthil Kumaran2011-07-271-0/+16
| | | | | | | | obsfuscates) Connection: Close header.
* | Backport 0398f07d4827 (fix for weird buildbot failures)Antoine Pitrou2011-07-262-4/+4
| |
* | Issue #8746: Use tempfile module to get tempdir and randomize theNed Deily2011-07-261-1/+3
|/ | | | link file name.
* 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 #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 an undocumented *write_through* parameter to mandate unbuffered writes.
* 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.
* Fix closes issue12581 - Increase the urllib.parse test coverage. Patch by ↵Senthil Kumaran2011-07-231-2/+76
| | | | Petter Haggholm.
* type check AST strings and identifiersBenjamin Peterson2011-07-221-0/+14
| | | | This is related to a21829180423 as well as #12609 and #12610.
* Issue #12587: Correct faulty test file and reference in test_tokenize.Ned Deily2011-07-192-2/+2
| | | | (Patch by Robert Xiao)
* #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).
* Closes #12579. Positional fields with str.format_map() now raise a ↵Eric V. Smith2011-07-181-0/+5
| | | | ValueError instead of SystemError.
* 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
|
* 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.
* | | 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
* | | catch nasty exception classes with __new__ that doesn't return a exception ↵Benjamin Peterson2011-07-151-0/+9
|/ / | | | | | | | | | | (closes #11627) Patch from Andreas Stührk.
* | this should be an identity testBenjamin Peterson2011-07-141-1/+1
| |
* | Issue #12250: test_socketserver uses a timeout of 60 seconds instead of 20Victor Stinner2011-07-141-2/+1
| | | | | | | | | | test_shutdown() may fail on very slow buildbots like FreeBSD 6.4 just because of the arbitrary timeout.