[(pushed)] fix: pytest error

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

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

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)