Files
codeql/python/ql/test/library-tests/PointsTo/version/OSGuard.ql
2019-03-07 14:21:03 +00:00

8 lines
217 B
Plaintext

import python
import semmle.python.types.Version
from OsGuard og, Location l
where l = og.getLastNode().getLocation() and
l.getFile().getName().matches("%test.py")
select l.getStartLine(), og.toString(), og.getOs()