Files
jedi/test/static_analysis/operations.py
2015-06-23 18:04:36 +02:00

17 lines
180 B
Python

-1 + 1
1 + 1.0
#! 2 type-error-operation
1 + '1'
#! 2 type-error-operation
1 - '1'
-1 - - 1
-1 - int()
int() - float()
float() - 3.0
a = 3
b = ''
#! 2 type-error-operation
a + b