Py: Put in commented-out test and update expected

This commit is contained in:
Calum Grant
2022-12-19 17:29:48 +00:00
parent e982e144a4
commit cfd79e2006
2 changed files with 12 additions and 0 deletions

View File

@@ -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 |

View File

@@ -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]