Issue1166274
Created on 2005-03-18 22:21 by jimjjewett, last changed 2005-03-22 22:45 by doerwalter. This issue is now closed.
| Messages (3) | |||
|---|---|---|---|
| msg24700 - (view) | Author: Jim Jewett (jimjjewett) | Date: 2005-03-18 22:21 | |
tuples and lists can be initialized from any sequence, including an iterator. This is not tested. The iterator tests in test_deque would do a good job. list_tests (for list and UserList) test_remove does not test that it is the _first_ occurence that gets removed. Again, the deque tests that Raymond just checked in are up to the job, if "deque" is replaced by "type2test" |
|||
| msg24701 - (view) | Author: Walter Dörwald (doerwalter) * ![]() |
Date: 2005-03-21 21:33 | |
Logged In: YES user_id=89016 Checked in the remove test as: Lib/test/list_tests.py 1.6 (Note that I've dropped the evil mutator test, because it doesn't raise an exception). I'll add the iterator initialization test tomorrow. |
|||
| msg24702 - (view) | Author: Walter Dörwald (doerwalter) * ![]() |
Date: 2005-03-22 22:45 | |
Logged In: YES user_id=89016 Checked in the "construct from iterable" tests as: Lib/test/seq_tests.py 1.4 Lib/test/test_deque.py 1.22 I've moved the iterables from test_deque to seq_tests, so that they can be reused. Closing the report. Thanks for the tip! |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2005-03-18 22:21:20 | jimjjewett | create | |
