Files
codeql/python/ql/test/extractor-tests/imports/test.py
Taus e45f6e9b24 Python: Add copy of extractor tests
These get to live next to the existing library and query tests, and are
run as part of both the Python 2 and Python 3 language tests.
2024-04-15 12:22:07 +00:00

14 lines
226 B
Python

#This use to cause an extractor failure.
from module import (x
as y)
try:
import fcntl
except ImportError:
pass
try:
import __builtin__
except ImportError:
import builtins as __builtin__