aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/pyrsistent/py2/tests/toolz_test.py
blob: d145704b864a9a398b7a20953b6a80550478d4a1 (plain) (blame)
1
2
3
4
5
6
from pyrsistent import get_in, m, v


def test_get_in():
    # This is not an extensive test. The doctest covers that fairly good though.
    get_in(m(a=v(1, 2, 3)), ['m', 1]) == 2