def test_clear(self):
     items = ItemList(int, range(10))
     items.clear()
     assert_equal(len(items), 0)
Пример #2
0
 def test_clear(self):
     items = ItemList(int, range(10))
     items.clear()
     assert_equal(len(items), 0)