summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add a test for same-thread asynchronous exceptions (see #1779233).Antoine Pitrou2009-10-181-0/+19
|
* Restore sys.path in test_tkNick Coghlan2009-10-181-4/+4
|
* Silence a deprecation warning by using the appropriate replacement constructNick Coghlan2009-10-181-1/+3
|
* Using CleanImport to revert a reload of the os module doesn't work due to ↵Nick Coghlan2009-10-182-5/+24
| | | | function registrations in copy_reg. The perils of reloading modules even for tests...
* Protect against attempts to replace PyNumber_Add with PyNumber_InPlaceAdd in ↵Mark Dickinson2009-10-171-0/+4
| | | | builtin sum
* Don't replace sys.path in test_siteNick Coghlan2009-10-171-2/+2
|
* Avoid replacing existing modules and sys.path in import testsNick Coghlan2009-10-172-10/+14
|
* Also check and restore identity of sys.path, sys.argv and os.environ rather ↵Nick Coghlan2009-10-171-6/+9
| | | | than just their values (this picked up a few more misbehaving tests)
* Move restoration of the os.environ object into the context manager where it ↵Nick Coghlan2009-10-172-1/+1
| | | | belongs
* Revert changes made to environment in test_httpserversNick Coghlan2009-10-171-3/+6
|
* Don't invoke reload(sys) and use StringIO objects instead of real files to ↵Nick Coghlan2009-10-172-46/+37
| | | | capture stdin and stdout when needed (ensures all sys attributes remain unmodified after test_xmlrpc runs)
* Restore original sys.path when running TTK testsNick Coghlan2009-10-173-8/+33
|