summaryrefslogtreecommitdiffstats
path: root/Lib/test/output
Commit message (Collapse)AuthorAgeFilesLines
* Port the dictionary tests from test_types.py to unittest. Collect as muchWalter Dörwald2004-05-311-1/+1
| | | | | | mapping tests as possible in mapping_test.py and reuse the tests in test_dict.py, test_userdict.py, test_weakref.py, test_os.py and test_shelve.py. From SF patch #736962.
* Enable the profiling of C functions (builtins and extensions)Nicholas Bastin2004-03-241-1/+4
|
* Added global runctx function to profile to fix SF Bug #716587Nicholas Bastin2004-03-221-6/+6
|
* Port test_binascii.py to PyUnit and enhance tests.Walter Dörwald2004-03-151-29/+0
| | | | | Code coverage for binascii.c is at 92%. From SF patch #736962.
* Make test_coercion.py less sensitive to platform fp quirks. ClosesNeil Schemenauer2004-03-101-329/+329
| | | | SF bug #678265.
* adding passing test. testing for g(*Nothing()) where Nothing is a ↵Samuele Pedroni2004-02-211-0/+1
| | | | user-defined iterator.
* SF #736962, port test_future to unittest, add a bit more coverage, by Walter ↵Neal Norwitz2003-12-131-8/+0
| | | | Dörwald
* Add tests to test_weakref.py to bring code coverage in _weakref.c up to 100%.Walter Dörwald2003-12-111-9/+0
| | | | | | | | Port test_md5.py to PyUnit. (Written by Neal Norwitz; from SF patch 736962) (Backport candidate)
* Move list and tuple tests from test_types.py to their own scripts:Walter Dörwald2003-12-081-3/+2
| | | | | | test_tuple.py and test_list.py. Common tests for tuple, list and UserList are shared (in seq_tests.py and list_tests.py). Port tests to PyUnit. (From SF patch #736962)
* Add test for bug "[ 846133 ] os.chmod/os.utime/shutil do not work withMark Hammond2003-12-031-2/+0
| | | | | | | unicode filenames" Reorganize tests into functions so more combinations of unicode/encoded/ascii can be tested, and while I was at it, upgrade to unittest based test.
* 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
|