QUVA-Lab/artemis

test fail on python 3.4.x

matthiasreisser opened this issue · 0 comments

 FAILURES
 test_get_partial_chain 

    def test_get_partial_chain():
        def f(a, b):
            return a+b
        g = partial(f, b=3)
        h = partial(g, a=2)

        if sys.version_info < (3, 0):  # Python 2.X
            assert [f, g, h] == get_partial_chain(h)
        else: # Python 3.X
>           base, part = get_partial_chain(h)
E           ValueError: too many values to unpack (expected 2)

artemis/general/test_functional.py:72: ValueError