mirror of
https://github.com/github/codeql.git
synced 2026-04-29 02:35:15 +02:00
Python: Copy Python extractor to codeql repo
This commit is contained in:
15
python/extractor/tests/parser/comment-in-args.py
Normal file
15
python/extractor/tests/parser/comment-in-args.py
Normal file
@@ -0,0 +1,15 @@
|
||||
"""
|
||||
At the time this test was added, when either comment 2 or comment 3 was present, this
|
||||
would cause the TSG parser to have an error.
|
||||
"""
|
||||
|
||||
# comment 0
|
||||
print(
|
||||
# comment 1
|
||||
(
|
||||
# comment 2
|
||||
1
|
||||
# comment 3
|
||||
)
|
||||
# comment 4
|
||||
)
|
||||
Reference in New Issue
Block a user