Skip to content

Commit 1c8ce41

Browse files
committed
Python: Add test to confirm #1212 is fixed.
1 parent 1bd0c69 commit 1c8ce41

File tree

1 file changed

+12
-0
lines changed
  • python/ql/test/query-tests/Statements/unreachable

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
try:
3+
import fcntl
4+
except ImportError:
5+
pass
6+
7+
8+
try:
9+
import __builtin__
10+
except ImportError:
11+
import builtins as __builtin__
12+

0 commit comments

Comments
 (0)