Skip to content

Commit 95ba7b3

Browse files
committed
s [skip ci]
1 parent 35b5f7e commit 95ba7b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/cli/other_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3753,13 +3753,13 @@ def test_ast_max_depth(tmp_path):
37533753
'{}:12:5: error: maximum AST depth exceeded [internalAstError]'.format(test_file)
37543754
]
37553755

3756+
37563757
# do not report unmatched misra-* suppressions when misra is not provided
37573758
def test_misra_disabled_unmatched(tmp_path): #13663
37583759
test_file = tmp_path / 'test.c'
3759-
with open(test_file, "w") as f:
3760+
with open(test_file, "w"):
37603761
pass
37613762

3762-
37633763
args = [
37643764
'-q',
37653765
'--template=simple',
@@ -3780,7 +3780,7 @@ def test_misra_disabled_unmatched(tmp_path): #13663
37803780
# do not report unmatched premium-* suppressions when application is not premium
37813781
def test_premium_disabled_unmatched(tmp_path): #13663
37823782
test_file = tmp_path / 'test.c'
3783-
with open(test_file, "w") as f:
3783+
with open(test_file, "w"):
37843784
pass
37853785

37863786
args = [

0 commit comments

Comments
 (0)