summaryrefslogtreecommitdiffstats
path: root/Lib/test/output
Commit message (Collapse)AuthorAgeFilesLines
* Test script changed.Greg Ward2003-05-291-6/+5
|
* Port test_mimetools.py to PyUnit and add various tests.Walter Dörwald2003-05-221-5/+0
| | | | From SF patch #736962.
* Fix for SF [ 734869 ] Lambda functions in list comprehensionsJeremy Hylton2003-05-211-0/+1
| | | | | | The compiler was reseting the list comprehension tmpname counter for each function, but the symtable was using the same counter for the entire module. Repair by move tmpname into the symtable entry. Bugfix candidate.
* Port test_array and test_winsound to PyUnit. Enhance tests for arrayWalter Dörwald2003-05-181-2/+0
| | | | | | (code coverage for Modules/arraymodule.c is at 91%) From SF patch #736962.
* Port test_richcmp.py to PyUnit. From SF patch #662807 which additionalWalter Dörwald2003-04-291-187/+0
| | | | tests and comments.
* New version from Vinaj, should solve the threading problems (hopefully).Guido van Rossum2003-04-251-2/+2
|
* test_re is no longer neededGuido van Rossum2003-04-251-2/+0
|
* Port test_pwd.py to PyUnit. Check that getpwall() andWalter Dörwald2003-04-151-7/+0
| | | | | | | | | | | | getpwnam()/getpwuid() return consistent data. Change test_grp to check that getgrall() and getgrnam()/getgrgid() return consistent data. Add error checks similar to test_pwd.py. Port test___all__.py to PyUnit. From SF patch #662807.
* Port test_ucn and test_unicodedata to PyUnit. Add a few tests for errorWalter Dörwald2003-02-262-14/+0
| | | | | cases increasing coverage in unicodedata.c from 87% to 95% (when the normalization tests are run). From SF patch #662807.
* Port all string tests to PyUnit and share as much testsWalter Dörwald2003-02-211-3/+0
| | | | | | | between str, unicode, UserString and the string module as possible. This increases code coverage in stringobject.c from 83% to 86% and should help keep the string classes in sync in the future. From SF patch #662807
* SF patch #687683, Patches to logging (updates from Vinay)Neal Norwitz2003-02-181-10/+10
| | | | | | Mostly rename WARN -> WARNING Other misc tweaks Update tests (not in original patch)
* Port test_charmapcodec to PyUnit. From SF patch #662807Walter Dörwald2003-02-141-16/+0
|
* - Thanks to Scott David Daniels, a subtle bug in how the zlibGuido van Rossum2003-02-031-14/+0
| | | | | | | | extension implemented flush() was fixed. Scott also rewrite the zlib test suite using the unittest module. (SF bug #640230 and patch #678531.) Backport candidate I think.
* Port test_pow.py to PyUnit. From SF patch #662807Walter Dörwald2003-02-031-25/+0
|
* Fix for SF bug 661340: test_httplib fails on the mac.Jeremy Hylton2003-01-231-0/+1
| | | | The test no longer produces output with \r\n in it.
* Fix from Vinaj for the "writing to closed file" errors. SF 670390.Guido van Rossum2003-01-211-1/+0
|
* Port test_unicode.py to PyUnit and add tests for errorWalter Dörwald2003-01-191-21/+0
| | | | | | cases and a few methods. This increases code coverage in Objects/unicodeobject.c from 81% to 85%. (From SF patch #662807)
* Combine test_b1.py and test_b2.py into test_builtin.py,Walter Dörwald2003-01-191-53/+0
| | | | | | | | port the tests to PyUnit and add many tests for error cases. This increases code coverage in Python/bltinmodule.c from 75% to 92%. (From SF patch #662807, with assert_(not fcmp(x, y)) replaced with assertAlmostEqual(x, y) where possible)
* Enable building and testing of ossaudiodev for Linux.Guido van Rossum2003-01-081-0/+7
|
* Remove bastion test outputGuido van Rossum2003-01-061-10/+0
|
* SF #660795Neal Norwitz2003-01-021-0/+516
| | | | Add a test for logging from Vinay Sajip (module author)
* Match new sequence behavior. User defined types now behave better as andNeil Schemenauer2002-12-301-2/+2
| | | | with sequences.
* Regenerate from Unicode 3.2.0 to include all First/Last ranges.Martin v. Löwis2002-11-241-1/+1
|
* Implement names for CJK unified ideographs. Add name to KeyError output.Martin v. Löwis2002-11-231-2/+3
| | | | Verify that the lookup for an existing name succeeds.
* Add test cases for Hangul syllables. Update output.Martin v. Löwis2002-11-231-1/+2
|
* Patch #633547: Support plural forms. Do TODOs in test suite.Martin v. Löwis2002-11-211-46/+0
|
* Remove unnecessary output file.Fred Drake2002-10-281-42/+0
|
* Patch #613256: Add nescape method to xml.sax.saxutils.Martin v. Löwis2002-10-261-1/+4
|
* Remove useless output file.Fred Drake2002-10-251-9/+0
|
* Update to Unicode 3.2 database.Martin v. Löwis2002-10-182-3/+3
|
* Add os.path.supports_unicode_filenames for all platforms,Mark Hammond2002-10-081-1/+1
| | | | | | sys.getwindowsversion() on Windows (new enahanced Tim-proof <wink> version), and fix test_pep277.py in a few minor ways. Including doc and NEWS entries.
* Tests for pep277 - Unicode file names on Windows NT.Mark Hammond2002-10-031-0/+4
|
* SF bug # 585792, Invalid mmap crashes Python interpreterNeal Norwitz2002-09-051-0/+1
| | | | | Raise ValueError if user passes a size to mmap which is larger than the file.
* Add a custom __str__ method to KeyError that applies repr() to theGuido van Rossum2002-09-031-1/+1
| | | | | missing key. (Also added a guard to SyntaxError__str__ to prevent calling PyString_Check(NULL).)
* Undo Barry's change. This file is not imported, it's fed as input toGuido van Rossum2002-08-291-12/+12
| | | | | | the tokenize module by test_tokenize.py. The FutureWarnings only appeared during installation, and I've figured out a way to suppress those in a different way.
* The test_tokenize output has changed slightly, by the addition of someBarry Warsaw2002-08-291-12/+12
| | | | trailing `L's.
* Follow PyXML: Remove all prints from successful tests. This means we canFred Drake2002-07-191-220/+0
| | | | also drop the output file.
* The atexit module effectively turned itself off if sys.exitfunc alreadyTim Peters2002-07-161-4/+0
| | | | | | | | | | | existed at the time atexit first got imported. That's a bug, and this fixes it. Also reworked test_atexit.py to test for this too, and to stop using an "expected output" file, and to test what actually happens at exit instead of just simulating what it thinks atexit will do at exit. Bugfix candidate, but it's messy so I'll backport to 2.2 myself.
* Fix for SF bug #432621: httplib: multiple Set-Cookie headersJeremy Hylton2002-07-071-0/+3
| | | | | | | | | | If multiple header fields with the same name occur, they are combined according to the rules in RFC 2616 sec 4.2: Appending each subsequent field-value to the first, each separated by a comma. The order in which header fields with the same field-name are received is significant to the interpretation of the combined field value.
* Implement the encoding argument for toxml and toprettyxml.Martin v. Löwis2002-06-301-0/+3
| | | | Document toprettyxml.
* Suppress the variable verbose output from test.xmltests; the inclusion ofFred Drake2002-06-261-15/+0
| | | | timing information in the output makes the determination of success bogus.
* Add convenience module to run all the XML tests.Fred Drake2002-06-251-0/+379
|
* New test suite for the socket module by Michael Gilfix.Guido van Rossum2002-06-121-3/+0
| | | | Changed test_timeout.py to conform to the guidelines in Lib/test/README.
* Added tests for new degree/radian conversions.Raymond Hettinger2002-05-141-0/+2
|
* Add tests for the recent resource module change.Jeremy Hylton2002-04-231-0/+2
| | | | | | Also add a test that Python doesn't die with SIGXFSZ if it exceeds the file rlimit. (Assuming this will also test the behavior when the 2GB limit is exceed on a platform that doesn't have large file support.)
* Add test for eval() w/ free variables.Jeremy Hylton2002-04-201-0/+1
| | | | Related to SF bug #505315
* Add the 'bool' type and its values 'False' and 'True', as described inGuido van Rossum2002-04-035-81/+81
| | | | | | | | | | | | | PEP 285. Everything described in the PEP is here, and there is even some documentation. I had to fix 12 unit tests; all but one of these were printing Boolean outcomes that changed from 0/1 to False/True. (The exception is test_unicode.py, which did a type(x) == type(y) style comparison. I could've fixed that with a single line using issubtype(x, type(y)), but instead chose to be explicit about those places where a bool is expected. Still to do: perhaps more documentation; change standard library modules to return False/True from predicates.
* Fix bugs:Mark Hammond2002-04-031-0/+3
| | | | | | | | | | | | | | | 457466: popenx() argument mangling hangs python 226766: popen('python -c"...."') tends to hang Fixes argument quoting in w9xpopen.exe for Windows 9x. w9xpopen.exe also never attempts to display a MessageBox when not executed interactively. Added test_popen() test. This test currently just executes "python -c ..." as a child process, and checks that the expected arguments were all recieved correctly by the child process. This test succeeds for me on Win9x, win2k and Linux, and I hope it does for other popen supported platforms too :)
* add test for InvalidURLSkip Montanaro2002-03-241-0/+2
|
* Add more tests for built-in types. Add tests for buffer objects.Neil Schemenauer2002-03-241-0/+1
| | | | Closes SF patch 494871.