File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -61,9 +61,15 @@ def parameter_shadowing_inference_negatives(type):
61
61
type (42 ) in [int ]
62
62
type (42 ) not in [int ]
63
63
64
- def deliberate_subclass_check_negatives (b ):
64
+ def deliberate_subclass_check_negatives (a , b ):
65
65
type (42 ) is type (b )
66
66
type (42 ) is not type (b )
67
+ type (42 ) == type (b )
68
+ type (42 ) != type (b )
69
+ type (a ) is type (b )
70
+ type (a ) is not type (b )
71
+ type (a ) == type (b )
72
+ type (a ) != type (b )
67
73
68
74
def type_of_literals_negatives (a ):
69
75
type (a ) is type ([])
@@ -78,9 +84,3 @@ def type_of_literals_negatives(a):
78
84
type (a ) != type ({})
79
85
type (a ) == type ("" )
80
86
type (a ) != type ("" )
81
-
82
- def double_type_check_negatives (a , b ):
83
- type (a ) == type (b )
84
- type (a ) != type (b )
85
- type (a ) is type (b )
86
- type (a ) is not type (b )
You can’t perform that action at this time.
0 commit comments