mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
Python: Update all .expected files
I'm beginning to realise why I didn't do the `toString` overriding way back when. Thankfully, now that all of our tests are in the same place, this is actually not a terrible ordeal.
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
| test.py | 1 | ControlFlowNode for f | 0 | Exit node for Module test | normal |
|
||||
| test.py | 1 | ControlFlowNode for x | 2 | ControlFlowNode for exec | normal |
|
||||
| test.py | 1 | Entry node for Function f | 1 | ControlFlowNode for x | normal |
|
||||
| test.py | 2 | ControlFlowNode for Str | 2 | ControlFlowNode for exec() | normal |
|
||||
| test.py | 2 | ControlFlowNode for exec | 2 | ControlFlowNode for Str | normal |
|
||||
| test.py | 2 | ControlFlowNode for StringLiteral | 2 | ControlFlowNode for exec() | normal |
|
||||
| test.py | 2 | ControlFlowNode for exec | 2 | ControlFlowNode for StringLiteral | normal |
|
||||
| test.py | 2 | ControlFlowNode for exec() | 3 | ControlFlowNode for x | normal |
|
||||
| test.py | 3 | ControlFlowNode for Return | 1 | Exit node for Function f | normal |
|
||||
| test.py | 3 | ControlFlowNode for x | 3 | ControlFlowNode for Return | normal |
|
||||
@@ -16,8 +16,8 @@
|
||||
| unicode.py | 3 | ControlFlowNode for f | 0 | Exit node for Module unicode | normal |
|
||||
| unicode.py | 3 | ControlFlowNode for x | 4 | ControlFlowNode for exec | normal |
|
||||
| unicode.py | 3 | Entry node for Function f | 3 | ControlFlowNode for x | normal |
|
||||
| unicode.py | 4 | ControlFlowNode for Str | 4 | ControlFlowNode for exec() | normal |
|
||||
| unicode.py | 4 | ControlFlowNode for exec | 4 | ControlFlowNode for Str | normal |
|
||||
| unicode.py | 4 | ControlFlowNode for StringLiteral | 4 | ControlFlowNode for exec() | normal |
|
||||
| unicode.py | 4 | ControlFlowNode for exec | 4 | ControlFlowNode for StringLiteral | normal |
|
||||
| unicode.py | 4 | ControlFlowNode for exec() | 5 | ControlFlowNode for x | normal |
|
||||
| unicode.py | 5 | ControlFlowNode for Return | 3 | Exit node for Function f | normal |
|
||||
| unicode.py | 5 | ControlFlowNode for x | 5 | ControlFlowNode for Return | normal |
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
| test.py:3:1:3:11 | Str | \u0111\u0142e\u00b6\u014b\u00b6\u0142\u014b |
|
||||
| test.py:3:15:3:19 | Str | hi |
|
||||
| test.py:3:23:3:27 | Str | \n |
|
||||
| test.py:4:1:4:11 | Str | \u0111\u0142e\u00b6\u014b\u00b6\u0142\u014b |
|
||||
| test.py:4:15:4:19 | Str | hi |
|
||||
| test.py:4:23:4:27 | Str | \n |
|
||||
| test.py:3:1:3:11 | StringLiteral | \u0111\u0142e\u00b6\u014b\u00b6\u0142\u014b |
|
||||
| test.py:3:15:3:19 | StringLiteral | hi |
|
||||
| test.py:3:23:3:27 | StringLiteral | \n |
|
||||
| test.py:4:1:4:11 | StringLiteral | \u0111\u0142e\u00b6\u014b\u00b6\u0142\u014b |
|
||||
| test.py:4:15:4:19 | StringLiteral | hi |
|
||||
| test.py:4:23:4:27 | StringLiteral | \n |
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
| foo.py | 2 | ControlFlowNode for foo | class foo | ControlFlowNode for ClassExpr |
|
||||
| foo.py | 2 | ControlFlowNode for object | builtin-class object | ControlFlowNode for object |
|
||||
| foo.py | 5 | ControlFlowNode for List | List | ControlFlowNode for List |
|
||||
| foo.py | 5 | ControlFlowNode for Str | str b'foo' | ControlFlowNode for Str |
|
||||
| foo.py | 5 | ControlFlowNode for StringLiteral | str b'foo' | ControlFlowNode for StringLiteral |
|
||||
| foo.py | 5 | ControlFlowNode for __all__ | List | ControlFlowNode for List |
|
||||
| test.py | 2 | ControlFlowNode for ImportExpr | Module package | ControlFlowNode for ImportExpr |
|
||||
| test.py | 2 | ControlFlowNode for ImportMember | class foo | ControlFlowNode for ClassExpr |
|
||||
|
||||
@@ -1 +1 @@
|
||||
| statements_test.py:21:5:21:19 | For | Iteration over $@, of class list, may also iterate over $@. | statements_test.py:20:13:20:33 | ControlFlowNode for List | sequence | statements_test.py:18:13:18:26 | ControlFlowNode for Str | string |
|
||||
| statements_test.py:21:5:21:19 | For | Iteration over $@, of class list, may also iterate over $@. | statements_test.py:20:13:20:33 | ControlFlowNode for List | sequence | statements_test.py:18:13:18:26 | ControlFlowNode for StringLiteral | string |
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
| UndefinedExport.py:3:18:3:20 | Str | The name 'y' is exported by __all__ but is not defined. |
|
||||
| UndefinedExport.py:3:23:3:25 | Str | The name 'z' is exported by __all__ but is not defined. |
|
||||
| UndefinedExport.py:3:28:3:35 | Str | The name 'module' is exported by __all__ but is not defined. |
|
||||
| package/__init__.py:1:23:1:34 | Str | The name 'not_exists' is exported by __all__ but is not defined. |
|
||||
| UndefinedExport.py:3:18:3:20 | StringLiteral | The name 'y' is exported by __all__ but is not defined. |
|
||||
| UndefinedExport.py:3:23:3:25 | StringLiteral | The name 'z' is exported by __all__ but is not defined. |
|
||||
| UndefinedExport.py:3:28:3:35 | StringLiteral | The name 'module' is exported by __all__ but is not defined. |
|
||||
| package/__init__.py:1:23:1:34 | StringLiteral | The name 'not_exists' is exported by __all__ but is not defined. |
|
||||
|
||||
Reference in New Issue
Block a user