mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
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.
This commit is contained in:
5
python/ql/test/extractor-tests/syntax_error/test.ql
Normal file
5
python/ql/test/extractor-tests/syntax_error/test.ql
Normal file
@@ -0,0 +1,5 @@
|
||||
import python
|
||||
|
||||
from SyntaxError s, string fp, int line, int col
|
||||
where s.hasLocationInfo(fp, line, col, _, _)
|
||||
select fp, s.toString(), line, col
|
||||
Reference in New Issue
Block a user