File: accept_twice_reload.py

package info (click to toggle)
python-expecttest 0.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 140 kB
  • sloc: python: 535; makefile: 6; sh: 4
file content (10 lines) | stat: -rw-r--r-- 211 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
import expecttest
from expecttest import assert_expected_inline

S1 = "a\nb"
S2 = "a\nb\nc"

if hasattr(expecttest, "_TEST1"):
    assert_expected_inline(S1, """""")
else:
    assert_expected_inline(S2, """""")