summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_userlist.py
Commit message (Collapse)AuthorAgeFilesLines
* Move list and tuple tests from test_types.py to their own scripts:Walter Dörwald2003-12-081-235/+28
| | | | | | 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)
* SF #754014: list.index() should accept optional start, end argumentsRaymond Hettinger2003-06-171-0/+9
| | | | Also, modified UserList.index() to match and expanded the related tests.
* Combine the functionality of test_support.run_unittest()Walter Dörwald2003-05-011-3/+1
| | | | | | | | | | and test_support.run_classtests() into run_unittest() and use it wherever possible. Also don't use "from test.test_support import ...", but "from test import test_support" in a few spots. From SF patch #662807.
* Whitespace normalization.Tim Peters2003-02-191-1/+0
|
* Port test_userlist to PyUnit and add a few tests to increase codeWalter Dörwald2003-02-131-197/+257
| | | | coverage. From SF patch #662807
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-1/+1
| | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
* a bold attempt to fix things broken by MAL's verify patch: importFredrik Lundh2001-01-171-1/+2
| | | | 'verify' iff it's used by a test module...
* This patch removes all uses of "assert" in the regression test suiteMarc-André Lemburg2001-01-171-1/+1
| | | | | | | and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
* test_userlist.py:Tim Peters2000-09-191-39/+52
| | | | | Added new test for new __contains__ method. Extensive editing to get rid of asserts.
* robustify UserList constructor -- will now accept any sequenceJeremy Hylton2000-03-311-0/+11
| | | | add test cases for non-UserList class, tuple, & string
* Test suite for UserList.Guido van Rossum1999-03-261-0/+176