Python: TaintTracking: Move tests of py3 string methods

This commit is contained in:
Rasmus Wriedt Larsen
2020-08-25 13:06:27 +02:00
parent cf121cc4d0
commit 2dbf83b579
4 changed files with 73 additions and 64 deletions

View File

@@ -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]),