def test_extend_with_tuple(self): D1 = DistinctList([1, 2, 3, 4, 5, 6, 7, 8]) D1.extend((9, 10, 11, 12)) self.assertSequenceEqual(D1, DistinctList( [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]), seq_type=DistinctList)
def test_extend_with_tuple(self): D1 = DistinctList([1, 2, 3, 4, 5, 6, 7, 8]) D1.extend((9, 10, 11, 12)) self.assertSequenceEqual(D1, DistinctList([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]), seq_type=DistinctList)
def test_extend_with_tuple(self): D1 = DistinctList([1, 2, 3, 4, 5, 6, 7, 8]) D1.extend((9, 10, 11, 12)) assert D1 == DistinctList([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12])