Skip to content

Commit bc4301f

Browse files
committed
Python: Add an extra test for import parsing.
1 parent b8a91d4 commit bc4301f

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
| Module flowtest | 5 |
2+
| Module imports | 0 |

python/ql/test/library-tests/ControlFlow/general/Lines.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@
88
| Function try_except | 7 |
99
| Function try_finally | 7 |
1010
| Module flowtest | 70 |
11+
| Module imports | 4 |
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from foo import x, y
2+
import bar
3+
from baz import x as a, y as b
4+
import spam as eggs

0 commit comments

Comments
 (0)