mirror of
https://github.com/github/codeql.git
synced 2026-05-05 05:35:13 +02:00
Python: Add copy of internal Python 3 tests
Again, mostly extractor tests, and a single library test.
This commit is contained in:
8
python/ql/test/3/extractor-tests/fstrings3.8/test.py
Normal file
8
python/ql/test/3/extractor-tests/fstrings3.8/test.py
Normal file
@@ -0,0 +1,8 @@
|
||||
foo = 5
|
||||
|
||||
bar = "bar"
|
||||
print(f'{foo=}')
|
||||
print(f'{foo = }')
|
||||
print(f'{bar.upper()=}')
|
||||
print(f'*{foo=:+<20}*')
|
||||
print(f'*{foo=:+<20}{bar.upper()=}*')
|
||||
Reference in New Issue
Block a user