summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Backing out my changes.Moshe Zadka2000-11-301-6/+0
| | | | Improved version coming soon to a Source Forge near you!
* Added .first{item,value,key}() to dictionaries.Moshe Zadka2000-11-301-0/+6
| | | | | Complete with docos and tests. OKed by Guido.
* Fox for SF bug #123859: %[duxXo] long formats inconsistent.Tim Peters2000-11-301-5/+16
|
* Slight improvement to Unicode test suite, inspired by patch #102563:Guido van Rossum2000-11-291-9/+11
| | | | | | | | also test join method of 8-bit strings. Also changed the test() function to (1) compare the types of the expected and actual result, and (2) in verbose mode, print the repr() of the output.
* Update test output.Fred Drake2000-11-211-2/+18
|
* testInsertBefore(): Rewritten to actually test insertBefore() somewhat.Fred Drake2000-11-211-14/+103
| | | | | | | | | | | | | | | | | | | | testAAA(), testAAB(): Added checks that the results are right. testTooManyDocumentElements(): Added code to actually test this. testCloneElementDeep() testCloneElementShallow(): Filled these in with test code. _testCloneElementCopiesAttributes(), _setupCloneElement(): Helper functions used with the other testCloneElement*() functions. testCloneElementShallowCopiesAttributes(): No longer a separate test; _setupCloneElement() uses _testCloneElementCopiesAttributes() to test that this is always done. testNormalize(): Added to check Node.normalize().
* Verify that str(a) and repr(a) don't blow up (part of SF patch 102068).Tim Peters2000-11-141-0/+5
|
* Added test cases to detect regression on SourceForge bug #121965.Fred Drake2000-11-081-0/+14
|
* Added 38,642 missing characters to the Unicode database (first-lastFredrik Lundh2000-11-031-2/+2
| | | | | | | ranges) -- but thanks to the 2.0 compression scheme, this doesn't add a single byte to the resulting binaries (!) Closes bug #117524
* track recent change to test_extcall.pyJeremy Hylton2000-10-301-0/+4
|
* Fix for SF bug #117241Jeremy Hylton2000-10-301-0/+18
| | | | | | | | | When a method is called with no regular arguments and * args, defer the first arg is subclass check until after the * args have been expanded. N.B. The CALL_FUNCTION implementation is getting really hairy; should review it to see if it can be simplified.
* -- properly reset groups in findall (bug #117612)Fredrik Lundh2000-10-281-0/+3
| | | | | | | | -- fixed negative lookbehind to work correctly at the beginning of the target string (bug #117242) -- improved syntax check; you can no longer refer to a group inside itself (bug #110866)
* Ka-Ping Yee <ping@lfw.org>:Fred Drake2000-10-241-6/+6
| | | | | | Changes to error messages to increase consistency & clarity. This (mostly) closes SourceForge patch #101839.
* Insert the current directory to the front of sys.path -- and remove itGuido van Rossum2000-10-241-0/+5
| | | | | | | | at the end. This fixes a problem where python Lib/test/test_import.py failed while "make test" succeeded.
* Added a test case for the saxutils.prepare_input_source setSystemId bug.Lars Gustäbel2000-10-242-1/+14
|
* Updated output.Lars Gustäbel2000-10-241-1/+6
|
* Added some more tests here and there.Lars Gustäbel2000-10-241-0/+84
|
* Make reindent happy, but not in the way it planned!Fred Drake2000-10-231-3/+3
|
* Make reindent.py happy (convert everything to 4-space indents!).Fred Drake2000-10-2370-1261/+1229
|
* Use 4-space indents.Fred Drake2000-10-231-8/+8
|
* Clean up the temporary file when done with it.Fred Drake2000-10-231-0/+4
|
* Make sure the temporary file is cleaned up even when we raise TestSkipped.Fred Drake2000-10-231-21/+24
|
* Added note saying to use test_support.TESTFN for a temporary filename,Fred Drake2000-10-231-0/+5
| | | | and be clear that you need to clean it up when done.
* Added test for regression on SourceForge bug #117490.Fred Drake2000-10-232-0/+30
|
* Use test_support.TESTFN as the temporary filename.Fred Drake2000-10-181-3/+3
| | | | | | Fix a minor stylistic nit. This closes SourceForge bug #117032.
* Test for math.* exceptional behavior only in verbose mode, so that theTim Peters2000-10-162-31/+40
| | | | | oddball platforms (where, e.g., math.exp(+huge) still fails to raise OverflowError) don't fail the std test suite when run normally.
* Updated test suite to latest pulldom changes.Lars Gustäbel2000-10-132-19/+19
|
* Make the regrtest.py -l (findleaks) option considerably less obnoxious.Neil Schemenauer2000-10-131-4/+10
| | | | | | First, only report garbage that the GC cannot free. Second, only report the number of objects found, not their repr(). People can dig deeper on their own if they find a leak.
* cosmetic changes only:Jeremy Hylton2000-10-121-118/+118
| | | | use standard Python style for whitespace near = and ()
* Added a test for the StringIO write() error I just fixed.Guido van Rossum2000-10-122-0/+9
|
* Anonymous patch to add Darwin 1.2 to the list of BSDs.Guido van Rossum2000-10-121-1/+1
| | | | | | | Let's hope this is correct (I'm not sure why the sys.platform would be 'Darwin1.2' rather than 'darwin1', which seems to be the convention). Someone with Darwin please test this!
* Added some single tuple/list unpacking for JPython regression testing.Barry Warsaw2000-10-121-0/+12
|
* A Mystery: I somehow managed to delete the last two lines of my test_math.pyTim Peters2000-10-121-0/+2
| | | | changes. Here restoring them.
* Stop raising OverflowError on underflows reported by libm (errno==ERANGE andTim Peters2000-10-122-0/+30
| | | | | | | | | libm result is 0). Cautiously add a few libm exception test cases: 1. That exp(-huge) returns 0 without exception. 2. That exp(+huge) triggers OverflowError. 3. That sqrt(-1) raises ValueError specifically (apparently under glibc linked with -lieee, it was raising OverflowError due to an accident of the way mathmodule.c's CHECK() macro happened to deal with Infs and NaNs under gcc).
* Added additional test cases for pulldom modifications.Lars Gustäbel2000-10-112-1/+77
|
* Test the exception-raising for error cases in copy_reg.Fred Drake2000-10-112-0/+44
|
* Jack Jansen reported that the regression test failed on the Mac whereGuido van Rossum2000-10-111-3/+1
| | | | | | | string.letters was much more than expected. Solution: explicit is better than implicit; don't rely on string.letters.
* Added test cases for extended printing to an instance. This picked upBarry Warsaw2000-10-111-1/+9
| | | | a bug in JPython where the instance had to have a flush() method.
* wave test outputGuido van Rossum2000-10-091-0/+1
|
* Simple test suite for wave.py by Jean-Claude Rimbault (with someGuido van Rossum2000-10-091-0/+34
| | | | changes to avoid using assert).
* Move the test for confirmation that all nodes have been freed into theFred Drake2000-10-092-33/+72
| | | | | | driver code, so that each test gets this; it had been done inconsistently. Remove the lines that set the variables holding dom objects to None; not needed since the interpreter cleans up locals on function return.
* Adapt test output to changed error message.Guido van Rossum2000-10-081-1/+1
|
* Correct output.Guido van Rossum2000-10-081-1/+1
|
* It seems our sound cards can't play mulaw data. Use native-formatGuido van Rossum2000-10-081-1/+12
| | | | 16-bit signed data instead. Hope this works for you; it works for me.
* Fixed too ambitious "nothing to repeat" check. Closes bug #114033.Fredrik Lundh2000-10-071-0/+3
|
* The test is good, but Jim forgot to check in the updated output.Fred Drake2000-10-071-0/+6
|
* SRE didn't handle character category followed by hyphen inside aFredrik Lundh2000-10-071-0/+2
| | | | | character class. Fix provided by Andrew Kuchling. Closes bug #116251.
* Updated test with a case which checks for the bug reported inMarc-André Lemburg2000-10-071-0/+1
|
* Add .toxml test case, as proposed by Alex Martelli in bug report #116244.Martin v. Löwis2000-10-062-1/+7
|
* Add a test case for reporting the file name, and for reporting an errorMartin v. Löwis2000-10-062-3/+36
| | | | for incomplete input.