summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Move test.test_support.catch_warning() to the warnings module, rename itBrett Cannon2008-09-022-99/+42
| | | | | | | | | | | catch_warnings(), and clean up the API. While expanding the test suite, a bug was found where a warning about the 'line' argument to showwarning() was not letting functions with '*args' go without a warning. Closes issue 3602. Code review by Benjamin Peterson.
* remove py3k warnings about the threading api; update docsBenjamin Peterson2008-09-011-35/+0
| | | | Reviewer: Benjamin Peterson
* Issue #3751: str.rpartition would perform a left-partition when called withAmaury Forgeot d'Arc2008-09-011-0/+5
| | | | | | a unicode argument. will backport.
* #3703 unhelpful _fileio.FileIO error message when trying to open a directoryBenjamin Peterson2008-09-011-0/+11
| | | | Reviewer: Gregory P. Smith
* A collection of crashers, all variants of the ideaArmin Rigo2008-08-291-0/+53
| | | | of issue #3720.
* Issue #2534: speed up isinstance() and issubclass() by 50-70%, so as toAntoine Pitrou2008-08-263-6/+62
| | | | | | | | | | match Python 2.5 speed despite the __instancecheck__ / __subclasscheck__ mechanism. In the process, fix a bug where isinstance() and issubclass(), when given a tuple of classes as second argument, were looking up __instancecheck__ / __subclasscheck__ on the tuple rather than on each type object. Reviewed by Benjamin Peterson and Raymond Hettinger.
* Try to reduce the flakiness of this testNeal Norwitz2008-08-251-0/+4
|
* Use bytes as return type from recv_bytes() methods. Not sure why this onlyNeal Norwitz2008-08-251-3/+3
| | | | | | | affects some buildbots. R=Brett TESTED=./python -E -tt ./Lib/test/regrtest.py test_multiprocessing
* Fix problem reported by pychecker where AuthenticationError wasn't imported.Neal Norwitz2008-08-251-1/+33
| | | | | | | Add some test coverage to this code. More tests should be added (TODO added). R=Brett TESTED=./python -E -tt ./Lib/test/regrtest.py test_multiprocessing
* #3662: Fix segfault introduced when fixing memory leaks.Neal Norwitz2008-08-241-0/+4
| | | | | TESTED=./python -E -tt ./Lib/test/regrtest.py test_fileio R (approach from bug)=Amaury and Benjamin
* #3654: fix duplicate test method name. Review by Benjamin P.Georg Brandl2008-08-241-4/+2
|
* generate py3k warnings on __getslice__, __delslice__, and __setslice__Benjamin Peterson2008-08-241-0/+22
| | | | Reviewer: Brett Cannon
* Fix bug 3625: test issues on 64bit windows. r=pitrouMark Hammond2008-08-233-3/+3
|
* Fix float.fromhex test to give additional information on failure. ThisMark Dickinson2008-08-211-1/+7
| | | | | | change is aimed at diagnosing issue 3633 (test_float fails on Solaris). Reviewed by Benjamin Peterson
* Reverted r65900. See ↵Hirokazu Yamamoto2008-08-201-7/+3
| | | | http://mail.python.org/pipermail/python-checkins/2008-August/073116.html
* fixed get_file_system in test_os.py ('path' is unicode on py3k and ansi on ↵Hirokazu Yamamoto2008-08-201-5/+8
| | | | trunk)
* deprecate some useless, noop methods in symtableBenjamin Peterson2008-08-201-0/+16
|
* follow-up of issue3473: update the compiler package to recognize the new syntax.Amaury Forgeot d'Arc2008-08-201-0/+9
|
* check that the parser module can handle the new keyword syntaxBenjamin Peterson2008-08-191-0/+1
|
* allow keyword args to be passed in after *args #3473Benjamin Peterson2008-08-191-0/+8
|
* issue3352: clean up the multiprocessing API to remove many get_/set_ methods ↵Jesse Noller2008-08-191-32/+26
| | | | and convert them to properties. Update the docs and the examples included.
* add py3k warnings for old threading APIsBenjamin Peterson2008-08-181-0/+34
| | | | they will still live in 3.0 but it can't hurt
* fix old API names in test_sslBenjamin Peterson2008-08-181-4/+4
|
* patch up multiprocessing until it's API can be changed tooBenjamin Peterson2008-08-181-2/+8
|
* change a few uses of the threading APIsBenjamin Peterson2008-08-183-6/+6
|
* backport threading property changesBenjamin Peterson2008-08-181-6/+6
|
* change threading.getIdent to a propertyBenjamin Peterson2008-08-181-2/+2
| | | | This is new in 2.6 so now need to worry about backwards compatibility :)
* add a test for reduce's moveBenjamin Peterson2008-08-181-0/+6
|
* #3580: fix a failure in test_osAntoine Pitrou2008-08-171-1/+1
|
* get the symtable module back in working orderBenjamin Peterson2008-08-171-20/+160
| | | | | | - Fix broken functions - Add (hopefully) extensive tests - Modernize a little
* #3556: test_raiseMemError consumes an insane amount of memoryAntoine Pitrou2008-08-171-8/+3
|
* backport r65723: strengthen test_os.test_closerangeAntoine Pitrou2008-08-171-3/+21
|
* Make test_ossaudiodev work.Antoine Pitrou2008-08-171-2/+2
|
* include filename and line number in SyntaxErrorBenjamin Peterson2008-08-161-1/+1
|
* Issue #2776: fixed small issue when handling an URL with double slashFacundo Batista2008-08-161-0/+26
| | | | after a 302 response in the case of not going through a proxy.
* Issue #3476: make BufferedReader and BufferedWriter thread-safeAntoine Pitrou2008-08-141-1/+78
|
* Issue 1432. Fixes a bug caused because of the evolutionFacundo Batista2008-08-141-2/+9
| | | | | of the RFC that describes the behaviour. Note that we now have the same behaviour than the current browsers.
* remove duplicate close() from ssl.py; expose unwrap and add test for itBill Janssen2008-08-121-2/+17
|
* Issue 2235: Py3k warnings are now emitted for classes that will no longer ↵Nick Coghlan2008-08-1111-18/+114
| | | | inherit a__hash__ implementation from a parent class in Python 3.x. The standard library and test suite have been updated to not emit these warnings.
* - Issue #3537: Fix an assertion failure when an empty but presized dictGeorg Brandl2008-08-111-0/+11
| | | | object was stored in the freelist.
* Copy reduce() to _functools so to have functools.reduce() not raise a warningBrett Cannon2008-08-091-1/+44
| | | | from usage under -3.
* accept issue 3436Skip Montanaro2008-08-081-0/+33
|
* Add imp.reload(). This to help with transitioning to 3.0 the reload() built-inBrett Cannon2008-08-061-0/+19
| | | | has been removed there.
* Remove duplicate importMark Dickinson2008-08-061-1/+0
|
* Bug 3228: take a test from Niels Gustaebel's patch, and based on his patch, ↵Andrew M. Kuchling2008-08-051-6/+29
| | | | check for having os.stat available
* Issue #1481296: (again!) Make conversion of a float NaN to an int orMark Dickinson2008-08-041-1/+2
| | | | | | | long raise ValueError instead of returning 0. Also, change the error message for conversion of an infinity to an integer, replacing 'long' by 'integer', so that it's appropriate for both long(float('inf')) and int(float('inf')).
* Bug 3228: Explicitly supply the file mode to avoid creating executable files,Andrew M. Kuchling2008-08-041-1/+27
| | | | | and add corresponding tests. Possible 2.5 backport candidate
* Preemptively backport the relevant parts of r65420Antoine Pitrou2008-08-021-0/+3
|
* Correct a crash when two successive unicode allocations fail with a MemoryError:Amaury Forgeot d'Arc2008-07-311-0/+14
| | | | | | | | | the freelist contained half-initialized objects with freed pointers. The comment /* XXX UNREF/NEWREF interface should be more symmetrical */ was copied from tupleobject.c, and appears in some other places. I sign the petition.
* Remove a dummy test that was checked in by mistakeAmaury Forgeot d'Arc2008-07-311-8/+0
|