Skip to content

Commit 01f5b3d

Browse files
committed
Python: Add a script that we can't classify usage of
1 parent 3e7e963 commit 01f5b3d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

python/ql/test/library-tests/modules/usage/ModuleUsage.expected

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
| file://:0:0:0:0 | Module sys | isUsedAsModule |
33
| imported.py:0:0:0:0 | Module imported | isUsedAsModule |
44
| main.py:0:0:0:0 | Module main | isUsedAsScript |
5-
| mybin:0:0:0:0 | Script script | isUsedAsScript |
5+
| myscript.py:0:0:0:0 | Script myscript | <UNKNOWN> |
6+
| script:0:0:0:0 | Script script | isUsedAsScript |
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env python
2+
3+
print("I'm actually a script you see ;)")

0 commit comments

Comments
 (0)