Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Port the dictionary tests from test_types.py to unittest. Collect as much | Walter Dörwald | 2004-05-31 | 1 | -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 Bastin | 2004-03-24 | 1 | -1/+4 |
| | |||||
* | Added global runctx function to profile to fix SF Bug #716587 | Nicholas Bastin | 2004-03-22 | 1 | -6/+6 |
| | |||||
* | Port test_binascii.py to PyUnit and enhance tests. | Walter Dörwald | 2004-03-15 | 1 | -29/+0 |
| | | | | | Code coverage for binascii.c is at 92%. From SF patch #736962. | ||||
* | Make test_coercion.py less sensitive to platform fp quirks. Closes | Neil Schemenauer | 2004-03-10 | 1 | -329/+329 |
| | | | | SF bug #678265. | ||||
* | adding passing test. testing for g(*Nothing()) where Nothing is a ↵ | Samuele Pedroni | 2004-02-21 | 1 | -0/+1 |
| | | | | user-defined iterator. | ||||
* | SF #736962, port test_future to unittest, add a bit more coverage, by Walter ↵ | Neal Norwitz | 2003-12-13 | 1 | -8/+0 |
| | | | | Dörwald | ||||
* | Add tests to test_weakref.py to bring code coverage in _weakref.c up to 100%. | Walter Dörwald | 2003-12-11 | 1 | -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örwald | 2003-12-08 | 1 | -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 with | Mark Hammond | 2003-12-03 | 1 | -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 unittest | Raymond Hettinger | 2003-08-30 | 1 | -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 Hettinger | 2003-07-15 | 1 | -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 Hettinger | 2003-07-13 | 1 | -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 get | Raymond Hettinger | 2003-07-13 | 1 | -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 Hylton | 2003-07-11 | 1 | -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 Hylton | 2003-07-08 | 1 | -0/+2 |
| | |||||
* | SF patch #736962. Converted test_compile to unittest format. | Raymond Hettinger | 2003-06-23 | 1 | -7/+0 |
| | |||||
* | test_posixpath.py now uses unittest. The output file is no longer needed. | Raymond Hettinger | 2003-06-17 | 1 | -2/+0 |
| | |||||
* | Test script changed. | Greg Ward | 2003-05-29 | 1 | -6/+5 |
| | |||||
* | Port test_mimetools.py to PyUnit and add various tests. | Walter Dörwald | 2003-05-22 | 1 | -5/+0 |
| | | | | From SF patch #736962. | ||||
* | Fix for SF [ 734869 ] Lambda functions in list comprehensions | Jeremy Hylton | 2003-05-21 | 1 | -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 array | Walter Dörwald | 2003-05-18 | 1 | -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 additional | Walter Dörwald | 2003-04-29 | 1 | -187/+0 |
| | | | | tests and comments. | ||||
* | New version from Vinaj, should solve the threading problems (hopefully). | Guido van Rossum | 2003-04-25 | 1 | -2/+2 |
| | |||||
* | test_re is no longer needed | Guido van Rossum | 2003-04-25 | 1 | -2/+0 |
| | |||||
* | Port test_pwd.py to PyUnit. Check that getpwall() and | Walter Dörwald | 2003-04-15 | 1 | -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 error | Walter Dörwald | 2003-02-26 | 2 | -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 tests | Walter Dörwald | 2003-02-21 | 1 | -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 Norwitz | 2003-02-18 | 1 | -10/+10 |
| | | | | | | Mostly rename WARN -> WARNING Other misc tweaks Update tests (not in original patch) | ||||
* | Port test_charmapcodec to PyUnit. From SF patch #662807 | Walter Dörwald | 2003-02-14 | 1 | -16/+0 |
| | |||||
* | - Thanks to Scott David Daniels, a subtle bug in how the zlib | Guido van Rossum | 2003-02-03 | 1 | -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 #662807 | Walter Dörwald | 2003-02-03 | 1 | -25/+0 |
| | |||||
* | Fix for SF bug 661340: test_httplib fails on the mac. | Jeremy Hylton | 2003-01-23 | 1 | -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 Rossum | 2003-01-21 | 1 | -1/+0 |
| | |||||
* | Port test_unicode.py to PyUnit and add tests for error | Walter Dörwald | 2003-01-19 | 1 | -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örwald | 2003-01-19 | 1 | -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 Rossum | 2003-01-08 | 1 | -0/+7 |
| | |||||
* | Remove bastion test output | Guido van Rossum | 2003-01-06 | 1 | -10/+0 |
| | |||||
* | SF #660795 | Neal Norwitz | 2003-01-02 | 1 | -0/+516 |
| | | | | Add a test for logging from Vinay Sajip (module author) | ||||
* | Match new sequence behavior. User defined types now behave better as and | Neil Schemenauer | 2002-12-30 | 1 | -2/+2 |
| | | | | with sequences. | ||||
* | Regenerate from Unicode 3.2.0 to include all First/Last ranges. | Martin v. Löwis | 2002-11-24 | 1 | -1/+1 |
| | |||||
* | Implement names for CJK unified ideographs. Add name to KeyError output. | Martin v. Löwis | 2002-11-23 | 1 | -2/+3 |
| | | | | Verify that the lookup for an existing name succeeds. | ||||
* | Add test cases for Hangul syllables. Update output. | Martin v. Löwis | 2002-11-23 | 1 | -1/+2 |
| | |||||
* | Patch #633547: Support plural forms. Do TODOs in test suite. | Martin v. Löwis | 2002-11-21 | 1 | -46/+0 |
| | |||||
* | Remove unnecessary output file. | Fred Drake | 2002-10-28 | 1 | -42/+0 |
| | |||||
* | Patch #613256: Add nescape method to xml.sax.saxutils. | Martin v. Löwis | 2002-10-26 | 1 | -1/+4 |
| | |||||
* | Remove useless output file. | Fred Drake | 2002-10-25 | 1 | -9/+0 |
| | |||||
* | Update to Unicode 3.2 database. | Martin v. Löwis | 2002-10-18 | 2 | -3/+3 |
| | |||||
* | Add os.path.supports_unicode_filenames for all platforms, | Mark Hammond | 2002-10-08 | 1 | -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 Hammond | 2002-10-03 | 1 | -0/+4 |
| |