mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Py: Put in commented-out test and update expected
This commit is contained in:
@@ -19,3 +19,10 @@
|
||||
| test.py:10:6:10:18 | test.py:10 | ControlFlowNode for Subscript | import | file://:0:0:0:0 | _Optional()[builtin-class int] |
|
||||
| test.py:10:15:10:17 | test.py:10 | ControlFlowNode for int | import | file://:0:0:0:0 | builtin-class int |
|
||||
| test.py:10:20:10:22 | test.py:10 | ControlFlowNode for int | import | file://:0:0:0:0 | builtin-class int |
|
||||
| test.py:12:1:12:12 | test.py:12 | ControlFlowNode for ClassExpr | import | test.py:12:1:12:12 | class baz |
|
||||
| test.py:14:7:14:10 | test.py:14 | ControlFlowNode for True | import | file://:0:0:0:0 | bool True |
|
||||
| test.py:15:11:15:13 | test.py:15 | ControlFlowNode for baz | import | file://:0:0:0:0 | class baz[class baz] |
|
||||
| test.py:15:11:15:13 | test.py:15 | ControlFlowNode for baz | import | test.py:12:1:12:12 | class baz |
|
||||
| test.py:15:11:15:18 | test.py:15 | ControlFlowNode for Subscript | import | file://:0:0:0:0 | class baz[class baz] |
|
||||
| test.py:15:15:15:17 | test.py:15 | ControlFlowNode for baz | import | file://:0:0:0:0 | class baz[class baz] |
|
||||
| test.py:15:15:15:17 | test.py:15 | ControlFlowNode for baz | import | test.py:12:1:12:12 | class baz |
|
||||
|
||||
@@ -8,3 +8,8 @@ def bar(s:set)->Set:
|
||||
|
||||
t1 = Optional[Optional[int]]
|
||||
t2 = Optional[int][int]
|
||||
|
||||
class baz():
|
||||
pass
|
||||
while True:
|
||||
baz = baz[baz]
|
||||
|
||||
Reference in New Issue
Block a user