summaryrefslogtreecommitdiffstats
path: root/Lib/test/output
Commit message (Collapse)AuthorAgeFilesLines
* SF patch #736962: Port tests to unittestRaymond Hettinger2003-08-301-2/+0
| | | | | | | | (Contributed by Walter Dörwald). * Convert three test modules to unittest format. * Expanded coverage in test_structseq.py. * Raymond added a new test in test_sets.py
* Fixed test and converted to unittest format.Raymond Hettinger2003-07-151-1/+0
| | | | | Checking // would call floor division but did not test that true division had become the default with 'from __future__ import division'.
* Reworked test_warnings.py:Raymond Hettinger2003-07-131-10/+0
| | | | | | | | | | | | | * It ran fine under "python regrtest.py test_warnings" but failed under "python regrtest.py" presumably because other tests would add to filtered warnings and not reset them at the end of the test. * Converted to a unittest format for better control. Renamed monkey() and unmonkey() to setUp() and tearDown(). * Increased coverage by testing all warnings in __builtin__. * Increased coverage by testing regex matching of specific messages.
* This test failed on WindowsME because the full file path did not getRaymond Hettinger2003-07-131-4/+4
| | | | | | reported consistently with the *nix world. 'Lib/test/test_warnings.py' came out as 'lib\test\test_warnings.py'. The basename is all we care about so I used that.
* Change warnings to avoid importing re module during startup.Jeremy Hylton2003-07-111-0/+10
| | | | | | | | | Add API function simplefilter() that does not create or install regular expressions to match message or module. Extend the filters data structure to store None as an alternative to re.compile(""). Move the _test() function to test_warnings and add some code to try and avoid disturbing the global state of the warnings module.
* Fix SF bug 764095: Don't use network in test_httplib.Jeremy Hylton2003-07-081-0/+2
|
* SF patch #736962. Converted test_compile to unittest format.Raymond Hettinger2003-06-231-7/+0
|
* test_posixpath.py now uses unittest. The output file is no longer needed.Raymond Hettinger2003-06-171-2/+0
|
* 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
|