File: irbuild-strip-asserts.test

package info (click to toggle)
mypy 0.812-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 18,596 kB
  • sloc: python: 74,869; cpp: 11,212; ansic: 3,935; makefile: 238; sh: 13
file content (15 lines) | stat: -rw-r--r-- 200 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[case testStripAssert1]
def g():
  x = 1 + 2
  assert x < 5
  return x
[out]
def g():
    r0 :: int
    r1, x :: object
L0:
    r0 = CPyTagged_Add(2, 4)
    r1 = box(int, r0)
    x = r1
    return x