mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
Python: TaintTracking: Move tests of py3 string methods
This commit is contained in:
@@ -49,7 +49,6 @@ def str_methods():
|
||||
tb = TAINTED_BYTES
|
||||
ensure_tainted(
|
||||
ts.capitalize(),
|
||||
ts.casefold(),
|
||||
ts.center(100),
|
||||
ts.expandtabs(),
|
||||
|
||||
@@ -57,9 +56,6 @@ def str_methods():
|
||||
"{}".format(ts),
|
||||
"{unsafe}".format(unsafe=ts),
|
||||
|
||||
ts.format_map({}),
|
||||
"{unsafe}".format_map({"unsafe": ts}),
|
||||
|
||||
ts.join(["", ""]),
|
||||
"".join([ts]),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user