def test_itervalues_ordered_dict(): a = [1, 2, 3] b = ["a", "b", "c"] d = OrderedDict(pyzip(a, b)) for i, v in enumerate(itervalues(d)): assert v in b assert b[i] == v
def test_itervalues_ordered_dict(): a = [1, 2, 3] b = ['a', 'b', 'c'] d = OrderedDict(pyzip(a, b)) for i, v in enumerate(itervalues(d)): assert v in b assert b[i] == v
def test_itervalues(): a = [1, 2, 3] b = ["a", "b", "c"] d = dict(pyzip(a, b)) for v in itervalues(d): assert v in b
def test_itervalues(): a = [1, 2, 3] b = ['a', 'b', 'c'] d = dict(pyzip(a, b)) for v in itervalues(d): assert v in b