summaryrefslogtreecommitdiffstats
path: root/Lib/test/output
Commit message (Collapse)AuthorAgeFilesLines
* Jeremy's patch #103323: trivial tests of all untested modules.Tim Peters2001-01-191-0/+1
|
* add test of bastion and rexec to std regression test suiteJeremy Hylton2001-01-191-0/+10
|
* A dumb test for the dumdbm module.Guido van Rossum2001-01-181-0/+1
|
* Rich comparison testsGuido van Rossum2001-01-181-0/+187
|
* This patch adds a new builtin unistr() which behaves like str()Marc-André Lemburg2001-01-171-0/+1
| | | | | | | | | | except that it always returns Unicode objects. A new C API PyObject_Unicode() is also provided. This closes patch #101664. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
* Ugh. Sorry. Checked in the wrong file. Please ignore revision 1.3;Ka-Ping Yee2001-01-151-154/+154
| | | | it anticipates another patch i was about to propose.
* better format names and error messagesKa-Ping Yee2001-01-151-2/+2
|
* This patch makes sure that the function name always appears in the errorKa-Ping Yee2001-01-152-11/+86
| | | | | | | message, and tries to make the messages more consistent and helpful when the wrong number of arguments or duplicate keyword arguments are supplied. Comes with more tests for test_extcall.py and and an update to an error message in test/output/test_pyexpat.
* Add tokenizer support and tests for u'', U"", uR'', Ur"", etc.Ka-Ping Yee2001-01-151-365/+421
|
* Committing PEP 232, function attribute feature, approved by Guido.Barry Warsaw2001-01-151-0/+1
| | | | | | Closes SF patch #103123. Regression test for function attributes, with output file.
* SF bug 128713: type(mmap_object) blew up on Linux.Tim Peters2001-01-141-0/+1
|
* Guido found a brand new race in tempfile on Linux, due to Linux changingTim Peters2001-01-131-0/+5
| | | | | | | | | | | | pid across threads (but in that case, it's still the same process, and so still sharing the "template" cache in tempfile.py). Repaired that, and added a new std test. On Linux, someone please run that standalone with more files and/or more threads; e.g., python lib/test/test_threadedtempfile.py -f 1000 -t 10 to run with 10 threads each creating (and deleting) 1000 temp files.
* Moved the test codec definition to a new module and updated the test andMarc-André Lemburg2001-01-101-0/+15
| | | | | | | codec to test all charmap codec features. As side-effect of moving the test codec into a new module, the encodings package codec import mechanism is checked as well.
* Assorted xreadlines problems:Tim Peters2001-01-091-4/+4
| | | | | | | Wasn't built on Windows; not in config.c either. Module init function missing DL_EXPORT magic. test_xreadline output file obviously wrong (started w/ "test_xrl"). test program very unclear about what was expected.
* Test for xreadline.Guido van Rossum2001-01-091-0/+4
|
* MS Win32 .readline() speedup, as discussed on Python-Dev. This is a trickyTim Peters2001-01-071-0/+1
| | | | | | variant that never needs to "search from the right". Also fixed unlikely memory leak in get_line, if string size overflows INTMAX. Also new std test test_bufio to make sure .readline() works.
* Add more regression tests, including for the import statement variations.Fred Drake2001-01-071-0/+25
| | | | | These will detect regression on SF bug #127271 and other import statement bugs.
* This patch adds a new feature to the builtin charmap codec:Marc-André Lemburg2001-01-061-0/+1
| | | | | | | | | | | | | | | the mapping dictionaries can now contain 1-n mappings, meaning that character ordinals may be mapped to strings or Unicode object, e.g. 0x0078 ('x') -> u"abc", causing the ordinal to be replaced by the complete string or Unicode object instead of just one character. Another feature introduced by the patch is that of mapping oridnals to the emtpy string. This allows removing characters. The patch is different from patch #103100 in that it does not cause a performance hit for the normal use case of 1-1 mappings. Written by Marc-Andre Lemburg, copyright assigned to Guido van Rossum.
* Add test cases based on RFC 1808. So now we actually have a test suiteFred Drake2001-01-051-0/+40
| | | | | | | the urljoin() function, which exercises the urlparse() and urlunparse() functions as side effects. (Moshe, why did we have perfectly empty tests checked in for this?)
* No more RCmp.Neil Schemenauer2001-01-041-22/+1
|
* Sequence repeat works now for in-place multiply with an integer typeNeil Schemenauer2001-01-041-4/+4
| | | | as the left operand. I don't know if this is a feature or a bug.
* Use == rather than cmp(). The return value of cmp() is not well defined whenNeil Schemenauer2001-01-031-121/+121
| | | | comparing different types.
* Use numbers that can be accurately represented on binary machines. I hopeNeil Schemenauer2001-01-031-585/+585
| | | | this works on all platforms.
* Add more tests for compare and coercion in preparation for the coercionNeil Schemenauer2001-01-022-0/+1176
| | | | overhaul. Closes SF patch #102878.
* Added test case for legal DOM childrenAndrew M. Kuchling2000-12-311-1/+3
|
* Fred, THIS NEEDS DOCS! The function docstrings tell the tale.Tim Peters2000-12-291-0/+1
| | | | | | | | | | | | | Christmas present to myself: the bisect module didn't define what happened if the new element was already in the list. It so happens that it inserted the new element "to the right" of all equal elements. Since it wasn't defined, among other bad implications it was a mystery how to use bisect to determine whether an element was already in the list (I've seen code that *assumed* "to the right" without justification). Added new methods bisect_left and insort_left that insert "to the left" instead; made the old names bisect and insort aliases for the new names bisect_right and insort_right; beefed up docstrings to explain what these actually do; and added a std test for the bisect module.
* The "context" parameter to the ExternalEntityRefParameter exposes internalFred Drake2000-12-231-3/+12
| | | | | | | | | information from the Expat library that is not part of its public API. Do not print this information as the format of the string may (and will) change as Expat evolves. Add additional tests to make sure the ParserCreate() function raises the right exceptions on illegal parameters.
* Update the test suite to cover more ground.Fred Drake2000-12-141-0/+1
| | | | This closes patch #102477.
* Added tests to avoid regression on bug #125375.Fred Drake2000-12-111-0/+14
| | | | | | | | roundtrip(): Show the offending syntax tree when things break; this makes it a little easier to debug the module by adding test cases. (Still need better tests for this module, but there's not enough time today.)
* Update test output.Fred Drake2000-11-211-2/+18
|
* 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
|
* 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.
* Added a test case for the saxutils.prepare_input_source setSystemId bug.Lars Gustäbel2000-10-241-1/+2
|
* Updated output.Lars Gustäbel2000-10-241-1/+6
|
* Added test for regression on SourceForge bug #117490.Fred Drake2000-10-231-0/+2
|
* Test for math.* exceptional behavior only in verbose mode, so that theTim Peters2000-10-161-1/+0
| | | | | 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-131-4/+4
|
* Added a test for the StringIO write() error I just fixed.Guido van Rossum2000-10-121-0/+2
|
* Stop raising OverflowError on underflows reported by libm (errno==ERANGE andTim Peters2000-10-121-0/+1
| | | | | | | | | 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-111-0/+10
|
* Test the exception-raising for error cases in copy_reg.Fred Drake2000-10-111-0/+9
|
* wave test outputGuido van Rossum2000-10-091-0/+1
|
* Move the test for confirmation that all nodes have been freed into theFred Drake2000-10-091-9/+67
| | | | | | 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
|
* The test is good, but Jim forgot to check in the updated output.Fred Drake2000-10-071-0/+6
|
* Add .toxml test case, as proposed by Alex Martelli in bug report #116244.Martin v. Löwis2000-10-061-0/+1
|
* Add a test case for reporting the file name, and for reporting an errorMartin v. Löwis2000-10-061-1/+3
| | | | for incomplete input.
* test_linuxaudio:Jeremy Hylton2000-10-061-0/+6
| | | | | | | | | | | | | | | | | | | | | | read the header from the .au file and do a sanity check pass only the data to the audio device call flush() so that program does not exit until playback is complete call all the other methods to verify that they work minimally call setparameters with a bunch of bugs arguments linuxaudiodev.c: use explicit O_WRONLY and O_RDONLY instead of 1 and 0 add a string name to each of the entries in audio_types[] add AFMT_A_LAW to the list of known formats add x_mode attribute to lad object, stores imode from open call test ioctl return value as == -1, not < 0 in read() method, resize string before return add getptr() method, that calls does ioctl on GETIPTR or GETOPTR depending on x_mode in setparameters() method, do better error checking and raise ValueErrors; also use ioctl calls recommended by Open Sound System Programmer's Guido (www.opensound.com) use PyModule_AddXXX to define names in module