mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +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:
8
python/ql/test/extractor-tests/splitter/is_int.py
Normal file
8
python/ql/test/extractor-tests/splitter/is_int.py
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
# Handle `is`
|
||||
|
||||
def g(c):
|
||||
if c is 3:
|
||||
pass
|
||||
if c is not 4:
|
||||
pass
|
||||
Reference in New Issue
Block a user