Skip to content

Commit ba7cdec

Browse files
committed
Python: Add some lines in test file
These are just empty now, such that it's obvious the tests didn't change.
1 parent a9694bf commit ba7cdec

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
| test.py:109:5:109:8 | cond | Parenthesized condition in 'if' statement. |
2-
| test.py:112:8:112:11 | cond | Parenthesized condition in 'while' statement. |
3-
| test.py:115:9:115:12 | test | Parenthesized test in 'assert' statement. |
4-
| test.py:118:13:118:13 | x | Parenthesized value in 'return' statement. |
1+
| test.py:115:5:115:8 | cond | Parenthesized condition in 'if' statement. |
2+
| test.py:118:8:118:11 | cond | Parenthesized condition in 'while' statement. |
3+
| test.py:121:9:121:12 | test | Parenthesized test in 'assert' statement. |
4+
| test.py:124:13:124:13 | x | Parenthesized value in 'return' statement. |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
| test.py:162:9:162:17 | Attribute() | Instance of context-manager class $@ is closed in a finally block. Consider using 'with' statement. | test.py:145:1:145:17 | class CM | CM |
1+
| test.py:168:9:168:17 | Attribute() | Instance of context-manager class $@ is closed in a finally block. Consider using 'with' statement. | test.py:151:1:151:17 | class CM | CM |

python/ql/test/query-tests/Statements/general/test.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,12 @@ def modification_of_locals():
104104
return x
105105

106106

107+
108+
109+
110+
111+
112+
107113
#C-style things
108114

109115
if (cond):

0 commit comments

Comments
 (0)