toolz_test.py 181 B

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