mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
Python: Fix missing newline in .expected
This commit is contained in:
@@ -4,4 +4,4 @@
|
||||
| ControlFlowNode for Subscript | ControlFlowNode for Subscript | 23 |
|
||||
| ControlFlowNode for v | ControlFlowNode for v | 28 |
|
||||
| ControlFlowNode for x | ControlFlowNode for x | 7 |
|
||||
| ControlFlowNode for x | ControlFlowNode for x | 21 |
|
||||
| ControlFlowNode for x | ControlFlowNode for x | 21 |
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
| ControlFlowNode for v | 28 |
|
||||
| ControlFlowNode for x | 7 |
|
||||
| ControlFlowNode for x | 21 |
|
||||
| ControlFlowNode for x | 21 |
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
| 3 | ControlFlowNode for Compare | e | f | < |
|
||||
| 4 | ControlFlowNode for Compare | g | h | >= |
|
||||
| 5 | ControlFlowNode for Compare | i | j | <= |
|
||||
| 6 | ControlFlowNode for Compare | k | l | != |
|
||||
| 6 | ControlFlowNode for Compare | k | l | != |
|
||||
|
||||
@@ -1 +1 @@
|
||||
| 0 | 0 |
|
||||
| 0 | 0 |
|
||||
|
||||
@@ -6,4 +6,4 @@
|
||||
| ec |
|
||||
| ed |
|
||||
| ee |
|
||||
| ef |
|
||||
| ef |
|
||||
|
||||
@@ -6,4 +6,4 @@
|
||||
| Function normal_args | 1 |
|
||||
| Function special_args | 1 |
|
||||
| Function try_except | 4 |
|
||||
| Function try_finally | 2 |
|
||||
| Function try_finally | 2 |
|
||||
|
||||
@@ -16,4 +16,4 @@
|
||||
| try_body1 |
|
||||
| try_body2 |
|
||||
| try_body3 |
|
||||
| try_body4 |
|
||||
| try_body4 |
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
| 10 | ControlFlowNode for u3 | u3 | delete |
|
||||
| 10 | ControlFlowNode for use | use | other |
|
||||
| 18 | ControlFlowNode for u2 | u2 | delete |
|
||||
| 21 | ControlFlowNode for u3 | u3 | delete |
|
||||
| 21 | ControlFlowNode for u3 | u3 | delete |
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
| 9 | Function meth |
|
||||
| 14 | Function meth |
|
||||
| 14 | Function meth |
|
||||
|
||||
@@ -34,4 +34,4 @@
|
||||
| class Wrong2 | class Base |
|
||||
| class Wrong2 | class Derived1 |
|
||||
| class Wrong2 | class Derived2 |
|
||||
| class Wrong2 | class Derived3 |
|
||||
| class Wrong2 | class Derived3 |
|
||||
|
||||
@@ -76,4 +76,4 @@
|
||||
| 136 | x | global |
|
||||
| 140 | object | global |
|
||||
| 142 | x | global |
|
||||
| 143 | x | local |
|
||||
| 143 | x | local |
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
| 10 | a1 | defined |
|
||||
| 18 | a2 | defined |
|
||||
| 21 | a0 | |
|
||||
| 25 | a1 | guarded |
|
||||
| 25 | a1 | guarded |
|
||||
|
||||
@@ -29,4 +29,4 @@
|
||||
| 103 | class Sub | float | builtin-class float |
|
||||
| 103 | class Sub | h | Builtin-function hash |
|
||||
| 103 | class Sub | int | builtin-class int |
|
||||
| 103 | class Sub | l | Builtin-function len |
|
||||
| 103 | class Sub | l | Builtin-function len |
|
||||
|
||||
@@ -16,4 +16,4 @@
|
||||
| 96 | class Oddities | float | builtin-class float |
|
||||
| 96 | class Oddities | h | Builtin-function hash |
|
||||
| 96 | class Oddities | int | builtin-class int |
|
||||
| 96 | class Oddities | l | Builtin-function len |
|
||||
| 96 | class Oddities | l | Builtin-function len |
|
||||
|
||||
@@ -19,4 +19,4 @@
|
||||
| 96 | class Oddities | float |
|
||||
| 96 | class Oddities | h |
|
||||
| 96 | class Oddities | int |
|
||||
| 96 | class Oddities | l |
|
||||
| 96 | class Oddities | l |
|
||||
|
||||
@@ -34,4 +34,4 @@
|
||||
| 103 | class Sub | float |
|
||||
| 103 | class Sub | h |
|
||||
| 103 | class Sub | int |
|
||||
| 103 | class Sub | l |
|
||||
| 103 | class Sub | l |
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
| 92 | class Unhashable | NoneType None |
|
||||
| 103 | class Sub | NoneType None |
|
||||
| 103 | class Sub | NoneType None |
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
| 15 | 16 | Commented out code |
|
||||
| 21 | 72 | Commented out code |
|
||||
| 78 | 85 | Commented out code |
|
||||
| 94 | 97 | Commented out code |
|
||||
| 94 | 97 | Commented out code |
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
| 15 | 16 | Commented out code |
|
||||
| 21 | 72 | Commented out code |
|
||||
| 78 | 85 | Commented out code |
|
||||
| 78 | 85 | Commented out code |
|
||||
|
||||
@@ -43,4 +43,4 @@
|
||||
| 94 | Comment # def f(): |
|
||||
| 95 | Comment # call() |
|
||||
| 96 | Comment # x.y = z |
|
||||
| 97 | Comment # return x |
|
||||
| 97 | Comment # return x |
|
||||
|
||||
@@ -39,4 +39,4 @@
|
||||
| 82 | Comment #except Exception: |
|
||||
| 83 | Comment # pass |
|
||||
| 84 | Comment #except: |
|
||||
| 85 | Comment # pass |
|
||||
| 85 | Comment # pass |
|
||||
|
||||
@@ -9,4 +9,4 @@
|
||||
| class InnerNotException1 | no |
|
||||
| class InnerNotException2 | no |
|
||||
| class NotException1 | no |
|
||||
| class NotException2 | no |
|
||||
| class NotException2 | no |
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
| Alias | a | a |
|
||||
| Alias | b | b |
|
||||
| Alias | c | d |
|
||||
| Alias | c | d |
|
||||
|
||||
@@ -23,4 +23,4 @@
|
||||
| UnaryExpr | 15 | 2 | 15 | 19 | () |
|
||||
| UnaryExpr | 16 | 2 | 16 | 5 | () |
|
||||
| UnaryExpr | 17 | 2 | 17 | 8 | () |
|
||||
| UnaryExpr | 19 | 1 | 19 | 3 | |
|
||||
| UnaryExpr | 19 | 1 | 19 | 3 | |
|
||||
|
||||
@@ -27,4 +27,4 @@
|
||||
| 52 | BinaryExpr |
|
||||
| 55 | BinaryExpr |
|
||||
| 56 | BinaryExpr |
|
||||
| 61 | Tuple |
|
||||
| 61 | Tuple |
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
| Delete | Subscript | Subscript | 2 |
|
||||
| Delete | Subscript | a | 2 |
|
||||
| Delete | Subscript | b | 2 |
|
||||
| Delete | x | x | 3 |
|
||||
| Delete | x | x | 3 |
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
| 2 | FunctionDef | 2 | FunctionExpr |
|
||||
| 2 | FunctionDef | 2 | f |
|
||||
| 2 | FunctionExpr | 2 | Function f |
|
||||
| 4 | Raise | 4 | Exception |
|
||||
| 4 | Raise | 4 | Exception |
|
||||
|
||||
@@ -31,4 +31,4 @@
|
||||
| 18 | ExprStmt | 18 | call3a() |
|
||||
| 18 | call3a() | 18 | call3a |
|
||||
| 20 | ExprStmt | 20 | call3b() |
|
||||
| 20 | call3b() | 20 | call3b |
|
||||
| 20 | call3b() | 20 | call3b |
|
||||
|
||||
@@ -17,4 +17,4 @@
|
||||
| 8 | With | 8 | y |
|
||||
| 8 | With | 9 | ExprStmt |
|
||||
| 9 | ExprStmt | 9 | call() |
|
||||
| 9 | call() | 9 | call |
|
||||
| 9 | call() | 9 | call |
|
||||
|
||||
@@ -1 +1 @@
|
||||
| Property p2 | Function p2 |
|
||||
| Property p2 | Function p2 |
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
| Property p1 | Function p1 |
|
||||
| Property p2 | Function p2 |
|
||||
| Property p3 | Function p3 |
|
||||
| Property p3 | Function p3 |
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
| Property p1 |
|
||||
| Property p2 |
|
||||
| Property p3 |
|
||||
| Property p3 |
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
| Property p1 | Function p1 |
|
||||
| Property p3 | Function p3_set |
|
||||
| Property p3 | Function p3_set |
|
||||
|
||||
Reference in New Issue
Block a user