# Path: rvic/core/pycompat.py
# def iteritems(d):
# def itervalues(d):
# def iteritems(d):
# def itervalues(d):


import pytest
from rvic.core.pycompat import (pyrange, pyzip, iteritems, itervalues,
                                OrderedDict, SafeConfigParser)
    d = dict(pyzip(a, b))
    for k, v in iteritems(d):
        assert k in a
        assert v in b
        assert d[k] == v


def test_iteritems_ordered_dict():
    a = [1, 2, 3]
    b = ['a', 'b', 'c']
    d = OrderedDict(pyzip(a, b))
    for i, (k, v) in enumerate(iteritems(d)):
        assert k in a
        assert v in b
        assert d[k] == v
        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_ordered_dict():
    a = [1, 2, 3]
    b = ['a', 'b', 'c']
    d = OrderedDict(pyzip(a, b))

# Path: rvic/core/pycompat.py
# def iteritems(d):
# def itervalues(d):
# def iteritems(d):
# def itervalues(d):


# Path: tests/unit/test_pycompat.py
import pytest
from rvic.core.pycompat import (pyrange, pyzip, iteritems, itervalues,
                                OrderedDict, SafeConfigParser)

    d = dict(pyzip(a, b))
    for k, v in iteritems(d):
        assert k in a
        assert v in b
        assert d[k] == v


def test_iteritems_ordered_dict():
    a = [1, 2, 3]
    b = ['a', 'b', 'c']
    d = OrderedDict(pyzip(a, b))
    for i, (k, v) in enumerate(iteritems(d)):
        assert k in a
        assert v in b
        assert d[k] == v
        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_ordered_dict():
    a = [1, 2, 3]
    b = ['a', 'b', 'c']
    d = OrderedDict(pyzip(a, b))

    for i, v in enumerate(itervalues(d)):