File: test_groupby.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 (8 lines) | stat: -rw-r--r-- 120 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
from toolz import groupby, identity


data = list(range(1000)) * 1000


def test_groupby():
    groupby(identity, data)