summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Improved test for a deprecation warning.Eric Smith2009-10-311-2/+1
|
* Issue #7042: Use a better mechanism for testing timers in test_signal.Mark Dickinson2009-10-311-2/+10
|
* add some checks for evaluation order with parenthesis #7210Benjamin Peterson2009-10-311-0/+8
|
* Try to fix transient refleaks in test_pydoc.Antoine Pitrou2009-10-301-3/+7
|
* Try to fix transient refleaks in test_xmlrpc.Antoine Pitrou2009-10-301-0/+1
|
* Try to fix transient refleaks in test_asynchat.Antoine Pitrou2009-10-301-2/+2
|
* Fix transient refleaks in test_docxmlrpc.Antoine Pitrou2009-10-301-0/+2
|
* Issue #7222: Make thread "reaping" more reliable so that referenceAntoine Pitrou2009-10-302-12/+44
| | | | | | | leak-chasing test runs give sensible results. The previous method of reaping threads could return successfully while some Thread objects were still referenced. This also introduces a new private function: :func:hread._count().
* Fix constant name.Georg Brandl2009-10-291-1/+1
|
* Use constants instead of magic integers for test result. Do not re-run with ↵Georg Brandl2009-10-291-30/+37
| | | | --verbose3 for environment changing tests.
* Issue #7233: Fix Decimal.shift and Decimal.rotate methods forMark Dickinson2009-10-291-0/+29
| | | | | arguments with more digits than the current context precision. Bug reported by Stefan Krah.
* Issue #7233: A number of two-argument Decimal methods were failing toMark Dickinson2009-10-291-0/+47
| | | | accept ints and longs for the second argument.
* Fix duplicate test numbers in extra.decTestMark Dickinson2009-10-291-16/+15
|
* do a backport of r75928Benjamin Peterson2009-10-291-0/+7
| | | | | The added test does not fail without the patch, but we still fix the issue of surrogates being used in wide builds where they should not be.
* Remove variable that is no longer used.R. David Murray2009-10-281-1/+1
|
* Make sure every run of test_intern() interns a new string, otherwise that ↵Georg Brandl2009-10-271-1/+4
| | | | test fails e.g. when some other test in test_builtin fails and it is rerun in verbose mode.
* Test long inputs to floatMark Dickinson2009-10-271-0/+5
|
* Reduce the probability of refleaks in test_socketserver.Antoine Pitrou2009-10-271-1/+2
| | | | Not completely suppressed though, see issue #7222.
* Issue #7218: Fix test_site for win32Tarek Ziadé2009-10-271-1/+1
|
* test expect base classesBenjamin Peterson2009-10-271-0/+8
|
* Reformat the regrtest command-line option help and group the options into ↵Georg Brandl2009-10-271-20/+35
| | | | sections.
* Add a regrtest option to re-run in verbose mode immediately after a test ↵Georg Brandl2009-10-271-10/+17
| | | | fails, and use that option on the buildbots.
* Try to fix transient refleaks in test_distutils.Antoine Pitrou2009-10-271-0/+1
|
* Fix transient refleaks in test_urllib2_localnet.Antoine Pitrou2009-10-271-2/+10
|
* Suppress transient refleaks in test_threading.Antoine Pitrou2009-10-271-3/+12
|
* Suppress transient refleaks in test_smtplib.Antoine Pitrou2009-10-271-4/+20
|
* Suppress transient refleaks in test_file2k.Antoine Pitrou2009-10-271-0/+2
|
* Fix transient refleak in test_sys.Antoine Pitrou2009-10-271-2/+6
|
* (Hopefully) suppress transient refleaks in test_httpservers.Antoine Pitrou2009-10-271-0/+2
|
* Suppress transient refleaks in test_asyncoreAntoine Pitrou2009-10-271-25/+29
|
* Issue #7205: Fix a possible deadlock when using a BZ2File object from ↵Antoine Pitrou2009-10-271-0/+18
| | | | several threads at once.
* use 'is' instead of id()Benjamin Peterson2009-10-261-8/+7
|
* Issue #7117: Use PyOS_string_to_double instead of PyOS_ascii_strtod inMark Dickinson2009-10-261-1/+4
| | | | | complexobject.c. Also remove length restriction on unicode inputs to the complex constructor.
* Issue #7117: Use PyOS_string_to_double instead of PyOS_ascii_strtod inMark Dickinson2009-10-261-2/+0
| | | | | floatobject.c. Also, remove limitation on length of unicode inputs to float().
* Skip readline tests if readline module is not available.Mark Dickinson2009-10-261-2/+3
|
* Issue #7117 (backport py3k float repr) continued:Mark Dickinson2009-10-241-0/+2
| | | | | Add sys.float_repr_style attribute ('short' if short float repr is in used; 'legacy' otherwise).
* Manual py3k backport: [svn r74316] Issue #5449: Fix io.BytesIO to not accept ↵Antoine Pitrou2009-10-241-0/+5
| | | | arbitrary keywords
* Manual py3k backport: [svn r74158] Issue #6218: Make io.BytesIO and ↵Antoine Pitrou2009-10-241-9/+147
| | | | io.StringIO picklable.
* Manual py3k backport: [svn r74155] Issue #6242: Fix deallocator of ↵Antoine Pitrou2009-10-241-0/+7
| | | | io.StringIO and io.BytesIO
* Issue #7194: test_thread could try to release an unacquired mutex (and fail).Antoine Pitrou2009-10-231-1/+4
|
* Fix Windows buildbot failureAntoine Pitrou2009-10-231-3/+2
|
* Test wouldn't work in debug mode.Antoine Pitrou2009-10-201-0/+1
| | | | We probably need a function in test_support to handle this.
* Issue #1722344: threading._shutdown() is now called in Py_Finalize(), whichAntoine Pitrou2009-10-201-0/+24
| | | | | fixes the problem of some exceptions being thrown at shutdown when the interpreter is killed. Patch by Adam Olsen.
* Issue #7099: Decimal.is_normal should return True for all nonzeroMark Dickinson2009-10-201-12/+12
| | | | finite non-subnormal values, even those with exponent > Emax.
* Issue #7133: SSL objects now support the new buffer API.Antoine Pitrou2009-10-191-14/+15
| | | | This fixes the test_ssl failure.
* Clarify error report message, and don't recommend running in verboseR. David Murray2009-10-191-1/+3
| | | | mode for more information if we are already running in verbose mode.
* Eliminate warning message that looks like an error message. When it wasR. David Murray2009-10-191-2/+0
| | | | | | added not finding Lib/test in the path indicated something was wrong, but when running regtest using "python -m" Lib/test isn't typically in the path, so this message is now more disturbing than it is helpful.
* Only run test_curses when sys.__stdout__ is a tty. This eliminates theR. David Murray2009-10-191-0/+2
| | | | last false positive when running regrtest with -j.
* Issue #7151: regrtest would generate a JSON failure if there was outputR. David Murray2009-10-181-13/+16
| | | | | | | | | | | | to stderr during the test run and it happened to get emitted after the worker thread emitted the result JSON. Now we capture stdout and stderr separately, which avoids that problem. It also means that _all_ stderr output is after all stdout output when we print the test results, but that seems acceptable, since output ordering is not guaranteed anyway. The patch also moves the emit of the test name into the output block generated after the test completes. Otherwise test names and test output/errors were mixed in the terminal display, making it difficult to determine which test generated the output.
* Add a comment about unreachable code, and fix a typoAntoine Pitrou2009-10-181-1/+3
|