def test_items(self): ta = (1, 2, 3) l = zip(ta, ta) dl = IntDisplayList(l) self.assertTrue(dl.items() == tuple(l))