mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
Merge pull request #3053 from tausbn/python-make-test-not-depend-on-minor-version
Python: Make two tests not depend on minor Python version.
This commit is contained in:
@@ -14,4 +14,4 @@ import python
|
||||
|
||||
from SyntaxError error
|
||||
where not error instanceof EncodingError
|
||||
select error, error.getMessage() + " (in Python " + major_version() + "." + minor_version() + ")."
|
||||
select error, error.getMessage() + " (in Python " + major_version() + ")."
|
||||
@@ -1 +1 @@
|
||||
| nonsense.py:1:14:1:14 | Syntax Error | Syntax Error (in Python 2.7). |
|
||||
| nonsense.py:1:14:1:14 | Syntax Error | Syntax Error (in Python 2). |
|
||||
|
||||
@@ -1 +1 @@
|
||||
| nonsense.py:1:2:1:2 | Syntax Error | Syntax Error (in Python 3.5). |
|
||||
| nonsense.py:1:2:1:2 | Syntax Error | Syntax Error (in Python 3). |
|
||||
|
||||
1
python/ql/test/query-tests/Imports/unused/options
Normal file
1
python/ql/test/query-tests/Imports/unused/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: --max-import-depth=0
|
||||
Reference in New Issue
Block a user