public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-6874] fix: pytest error
@ 2023-03-27  8:04 Martin Liska
  0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2023-03-27  8:04 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:059961927624224c63c798873fc3b0c0c7abb0d0

commit r13-6874-g059961927624224c63c798873fc3b0c0c7abb0d0
Author: Martin Liska <mliska@suse.cz>
Date:   Mon Mar 27 10:03:26 2023 +0200

    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:
---
 gcc/testsuite/lib/verify-sarif-file.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/lib/verify-sarif-file.py b/gcc/testsuite/lib/verify-sarif-file.py
index f1833f3016e..eb6236f564c 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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-27  8:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-27  8:04 [gcc r13-6874] fix: pytest error Martin Liska

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).