mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
Python: Add some lines in test file
These are just empty now, such that it's obvious the tests didn't change.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
| test.py:109:5:109:8 | cond | Parenthesized condition in 'if' statement. |
|
||||
| test.py:112:8:112:11 | cond | Parenthesized condition in 'while' statement. |
|
||||
| test.py:115:9:115:12 | test | Parenthesized test in 'assert' statement. |
|
||||
| test.py:118:13:118:13 | x | Parenthesized value in 'return' statement. |
|
||||
| test.py:115:5:115:8 | cond | Parenthesized condition in 'if' statement. |
|
||||
| test.py:118:8:118:11 | cond | Parenthesized condition in 'while' statement. |
|
||||
| test.py:121:9:121:12 | test | Parenthesized test in 'assert' statement. |
|
||||
| test.py:124:13:124:13 | x | Parenthesized value in 'return' statement. |
|
||||
|
||||
@@ -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 |
|
||||
| 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 |
|
||||
|
||||
@@ -104,6 +104,12 @@ def modification_of_locals():
|
||||
return x
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#C-style things
|
||||
|
||||
if (cond):
|
||||
|
||||
Reference in New Issue
Block a user