From: Martin Liska Date: Mon, 27 Mar 2023 08:03:26 +0000 (+0200) Subject: fix: pytest error X-Git-Tag: basepoints/gcc-14~333 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=059961927624224c63c798873fc3b0c0c7abb0d0;p=thirdparty%2Fgcc.git fix: pytest error Fixes: gcc/testsuite/lib/verify-sarif-file.py:10:27: Q000 Double quotes found but single quotes preferred gcc/testsuite/ChangeLog: * lib/verify-sarif-file.py: Use apostrophes instead of double quotes. --- diff --git a/gcc/testsuite/lib/verify-sarif-file.py b/gcc/testsuite/lib/verify-sarif-file.py index f1833f3016e8..eb6236f564cb 100644 --- a/gcc/testsuite/lib/verify-sarif-file.py +++ b/gcc/testsuite/lib/verify-sarif-file.py @@ -7,5 +7,5 @@ import sys sys.tracebacklimit = 0 fname = sys.argv[1] -with open(fname, encoding="utf-8") as f: +with open(fname, encoding='utf-8') as f: json.load(f)