File: check-underscores.test

package info (click to toggle)
mypy 1.19.1-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 22,464 kB
  • sloc: python: 114,757; ansic: 13,343; cpp: 11,380; makefile: 254; sh: 31
file content (5 lines) | stat: -rw-r--r-- 188 bytes parent folder | download | duplicates (4)
1
2
3
4
5
[case testUnderscoresBasics]
x: int
x = 1000_000
x = 0x_FF_FF_FF_FF
y: str = 1000_000.000_001  # E: Incompatible types in assignment (expression has type "float", variable has type "str")