Files
codeql/python/ql/test/extractor-tests/imports/test.ql
Taus 82057e2e46 Python: Autoformat tests
I guess these were never considered back when we switched to
autoformatting everything.
2024-04-15 15:27:21 +00:00

9 lines
256 B
Plaintext

import python
from Import imp, Alias al
where
al = imp.getAName() and
imp.getLocation().getFile().getShortName() = "test.py"
select imp.getLocation().getStartLine(), imp.toString(), al.toString(), al.getValue().toString(),
al.getAsname().toString()