Python: Add copy of internal Python 3 tests

Again, mostly extractor tests, and a single library test.
This commit is contained in:
Taus
2024-04-15 12:30:01 +00:00
parent b22b4c5b85
commit 8ec414d454
82 changed files with 1462 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
import python
from Fstring str, int n, Expr e
where e = str.getValue(n) and
not exists(FormattedValue v | v.getFormatSpec() = str)
select str.getLocation().getStartLine(), str.toString(), n, e.toString()