Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aa6fad5

Browse files
committed
Python: Minor cleanup in taint-step tests
1 parent 8d4f7e2 commit aa6fad5

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

python/ql/test/experimental/dataflow/tainttracking/defaultAdditionalTaintStep-py3/test_string.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def str_methods():
2222

2323

2424
def binary_decode_encode():
25-
print("\n#percent_fmt")
25+
print("\n# binary_decode_encode")
2626
tb = TAINTED_BYTES
2727
import base64
2828

@@ -42,7 +42,7 @@ def binary_decode_encode():
4242

4343

4444
def f_strings():
45-
print("\n#f_strings")
45+
print("\n# f_strings")
4646
ts = TAINTED_STRING
4747

4848
ensure_tainted(f"foo {ts} bar")

python/ql/test/experimental/dataflow/tainttracking/defaultAdditionalTaintStep/test_string.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def non_syntactic():
107107

108108

109109
def percent_fmt():
110-
print("\n#percent_fmt")
110+
print("\n# percent_fmt")
111111
ts = TAINTED_STRING
112112
tainted_fmt = ts + " %s %s"
113113
ensure_tainted(
@@ -118,7 +118,7 @@ def percent_fmt():
118118

119119

120120
def binary_decode_encode():
121-
print("\n#percent_fmt")
121+
print("\n# binary_decode_encode")
122122
tb = TAINTED_BYTES
123123
import base64
124124

0 commit comments

Comments
 (0)