File: toolz_test.py

package info (click to toggle)
pyrsistent 0.20.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 688 kB
  • sloc: python: 5,289; ansic: 1,213; makefile: 8
file content (6 lines) | stat: -rw-r--r-- 181 bytes parent folder | download | duplicates (3)
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