[(pushed)] fix: pytest error

Message ID c2c55ed6-ac51-013f-69ef-1917eed7d430@suse.cz
State Committed
Commit 059961927624224c63c798873fc3b0c0c7abb0d0
Headers
Series [(pushed)] fix: pytest error |

Commit Message

Martin Liška March 27, 2023, 8:04 a.m. UTC
  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.
---
 gcc/testsuite/lib/verify-sarif-file.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

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)