File: test_first.py

package info (click to toggle)
toolz 1.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 672 kB
  • sloc: python: 5,573; makefile: 136; sh: 2
file content (13 lines) | stat: -rw-r--r-- 190 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
from toolz import first, second

pairs = [(1, 2) for i in range(1000000)]


def test_first():
    for p in pairs:
        first(p)


def test_second():
    for p in pairs:
        second(p)