Author serhiy.storchaka
Recipients benjamin.peterson, larry, rhettinger, serhiy.storchaka
Date 2016-03-08.09:38:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1457429921.31.0.98684544258.issue26492@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for suggestion Benjamin.

seq_tests.py provides common tests for list, tuple, UserList and deque. This test doesn't work for tuple, since it is not mutable. It doesn't work for deque, since it can't be iterated after changing size. Common test for list and UserList can be moved to list_tests.py. In any case we need separate tests for bytearray, array and general sequence iterator.

I would be happy to not repeat the test, but tests for array and general sequence iterator have not much common with test for list.

Updated patch moves list test to list_tests.py (it now works for UserList) and reuses in for bytearray.
History
Date User Action Args
2016-03-08 09:38:41serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, larry, benjamin.peterson
2016-03-08 09:38:41serhiy.storchakasetmessageid: <1457429921.31.0.98684544258.issue26492@psf.upfronthosting.co.za>
2016-03-08 09:38:41serhiy.storchakalinkissue26492 messages
2016-03-08 09:38:41serhiy.storchakacreate