summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue3065: Fixed pickling of named tuples. Added tests.Raymond Hettinger2008-06-091-1/+20
|
* warn about parameter tuple unpackingBenjamin Peterson2008-06-081-0/+6
|
* Warn about assigning to Py3k keywords (True and False)Benjamin Peterson2008-06-081-0/+49
|
* change Py3k backquote warning to a SyntaxWarning and add a testBenjamin Peterson2008-06-081-0/+6
|
* Revert unwanted changes.Georg Brandl2008-06-071-100/+9
|
* Factor out docstring dedenting from inspect.getdoc() into inspect.cleandoc()Georg Brandl2008-06-072-9/+104
| | | | to ease standalone use of the algorithm.
* Finished bug #2451. Fixed the retrying part to make itFacundo Batista2008-06-071-8/+16
| | | | more robust.
* MacOS X: Enable 4-way universal buildsRonald Oussoren2008-06-051-0/+43
| | | | | | | | | | | | | | | | | | This patch adds a new configure argument on OSX: --with-universal-archs=[32-bit|64-bit|all] When used with the --enable-universalsdk option this controls which CPU architectures are includes in the framework. The default is 32-bit, meaning i386 and ppc. The most useful alternative is 'all', which includes all 4 CPU architectures supported by MacOS X (i386, ppc, x86_64 and ppc64). This includes limited support for the Carbon bindings in 64-bit mode as well, limited because (a) I haven't done extensive testing and (b) a large portion of the Carbon API's aren't available in 64-bit mode anyway. I've also duplicated a feature of Apple's build of python: setting the environment variable 'ARCHFLAGS' controls the '-arch' flags used for building extensions using distutils.
* Fixed complex.__getnewargs__() to not emit another complex object.Alexandre Vassalotti2008-06-041-0/+8
|
* make test_mutex more elegantBenjamin Peterson2008-06-031-18/+20
|
* Change all functions that expect one unicode character to accept a pair ofWalter Dörwald2008-06-021-0/+8
| | | | surrogates in narrow builds. Fixes issue #1706460.
* Fix issue 2782: be less strict about the format string type in strftime.Gregory P. Smith2008-06-021-0/+4
| | | | | Accept unicode and anything else ParseTuple "s#" can deal with. This matches the time.strftime behavior.
* Adds a Thread.getIdent() method to provide the _get_ident() value forGregory P. Smith2008-06-011-0/+5
| | | | any given threading.Thread object. feature request issue 2871.
* Deprecate htmllib and sgmllib for 3.0.Georg Brandl2008-06-013-3/+3
|
* Fix test_sys.Robert Schuppenies2008-06-011-2/+0
|
* Fix test_descrtut.Georg Brandl2008-06-011-0/+1
|
* Some style nits. Also clarify in the docstrings what __sizeof__ does.Georg Brandl2008-06-011-11/+11
|
* Issue #2898: Added sys.getsizeof() to retrieve size of objects in bytes.Robert Schuppenies2008-06-011-2/+149
|
* New environment variable PYTHONIOENCODING.Martin v. Löwis2008-06-011-0/+20
|
* Fix typo in testSumMark Dickinson2008-05-301-1/+1
|
* Fixed the semantic of timeout for socket.create_connection andFacundo Batista2008-05-299-124/+167
| | | | | | all the upper level libraries that use it, including urllib2. Added and fixed some tests, and changed docs correspondingly. Thanks to John J Lee for the patch and the pusing, :)
* UserString.MutableString has been removed in Python 3.0.Brett Cannon2008-05-292-2/+13
| | | | Works on issue #2877. Thanks Quentin Gallet-Gilles for the patch.
* Better integration between Python testing and bsddb3Jesus Cea2008-05-271-5/+5
|
* Do not close external file objects passed to tarfile.open(mode='w:bz2')Lars Gustäbel2008-05-271-2/+14
| | | | when the TarFile is closed.
* Improvements for test_py3kwarnBenjamin Peterson2008-05-271-5/+5
| | | | | - Always show warnings so they are always catchable - Make test_os_path_walk faster by walking a less populous directory
* remove some __getslice__Benjamin Peterson2008-05-271-5/+1
|
* remove duplication in test moduleBenjamin Peterson2008-05-261-27/+0
|
* Fixes issue2791: subprocess.Popen.communicate leaked a file descripton untilGregory P. Smith2008-05-261-5/+19
| | | | | | | the last reference to the Popen instance was dropped. Adding explicit close() calls fixes it. Candidate for backport to release25-maint.
* warn about some members of the commands moduleBenjamin Peterson2008-05-261-0/+9
|
* add __all__ to test_supportBenjamin Peterson2008-05-262-0/+14
|
* Fix issue2669: bsddb simple/legacy interface iteration silently failsGregory P. Smith2008-05-251-12/+51
| | | | | | | when database changes size during iteration. It now behaves like a dictionary, the next attempt to get a value from the iterator after the database has changed size will raise a RuntimeError.
* #2959: allow multiple close() calls for GzipFile.Georg Brandl2008-05-251-3/+6
|
* ConfigParser renaming reversal part 3: move module into place and adapt imports.Georg Brandl2008-05-253-59/+20
|
* Queue renaming reversal part 3: move module into place andGeorg Brandl2008-05-255-21/+19
| | | | change imports and other references. Closes #2925.
* * Give the test_bsddb3 tests a unique temporary directory to run theirGregory P. Smith2008-05-251-52/+20
| | | | | | | | stuff in and clean it up afterwards regardless of the result. * Get rid of duplicate list of test modules to run, they're maintained within test_all now. * Print the BerkeleyDB version to stderr when running test_bsddb3 to help buildbot problem diagnosis.
* socketserver renaming reversal part 3: move the module into the rightGeorg Brandl2008-05-245-33/+32
| | | | place and fix all references to it. Closes #2926.
* Don't try to get the window size if it was never set before.Martin v. Löwis2008-05-241-3/+0
| | | | Fixes the test failure on Solaris.
* Issue #1390: Raise ValueError in toxml when an invalid comment wouldMartin v. Löwis2008-05-231-0/+5
| | | | otherwise be produced.
* Skip math.sum tests on non IEEE 754 platforms, and on IEEE 754 platformsMark Dickinson2008-05-231-0/+16
| | | | that exhibit the problem described in issue #2937.
* Revert the renaming of repr to reprlib.Brett Cannon2008-05-233-4/+4
|
* Better error reporting in test_math.pyMark Dickinson2008-05-231-0/+4
|
* Add tests for math.sum (Issue #2819)Mark Dickinson2008-05-231-0/+136
|
* fix test_pydoc so it works on make installed Python installationsBenjamin Peterson2008-05-221-14/+26
| | | | Also let it pass when invoked directly
* remove redundant invocation of json doctestsBenjamin Peterson2008-05-221-1/+0
|
* use more specific asserts in test_opcodeBenjamin Peterson2008-05-221-10/+10
|
* check for toolbox glue before testing platform.mac_ver intenslyBenjamin Peterson2008-05-211-1/+8
|
* #2592: delegate nb_index and the floor/truediv slots in weakref.proxy.Georg Brandl2008-05-201-1/+22
|
* Patch #1775025: allow opening zipfile members via ZipInfo instances.Georg Brandl2008-05-201-0/+19
| | | | Patch by Graham Horler.
* Use inspect.getabsfile() to get the documented module's filename.Georg Brandl2008-05-201-7/+3
|
* Improve diffing logic and output for test_pydoc.Georg Brandl2008-05-201-7/+7
|