File: pass_through_primitives.py

package info (click to toggle)
python-apischema 0.18.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,636 kB
  • sloc: python: 15,281; makefile: 3; sh: 2
file content (4 lines) | stat: -rw-r--r-- 97 bytes parent folder | download | duplicates (2)
1
2
3
4
from apischema import serialize

ints = list(range(5))
assert serialize(list[int], ints) is ints