File: test_doctest.txt

package info (click to toggle)
python-syrupy 5.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,460 kB
  • sloc: python: 6,156; makefile: 3
file content (14 lines) | stat: -rw-r--r-- 240 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
>>> "There must be a break after every snapshot assertion" == getfixture('snapshot')
True

doctest x

doctest y
>>> y = "constant value"
>>> y == getfixture('snapshot')
True

doctest z
>>> z = {1, 2, 3}
>>> z == getfixture('snapshot')
True