Python: Port ShouldUseWithStatement.ql

Only trivial test changes.
This commit is contained in:
Taus
2026-02-20 14:54:19 +00:00
parent 8fc914f636
commit 47d24632e6
2 changed files with 5 additions and 11 deletions

View File

@@ -1 +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 |
| 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 |