From 57e825608319a17ef1b0aa90a6fc577a10af9bee Mon Sep 17 00:00:00 2001 From: Kamalesh Babulal Date: Tue, 23 Jul 2024 16:12:13 +0530 Subject: [PATCH] ftests/038: Fix quote warning Fix "Q000 Double quotes found but single quotes preferred" warning. Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- tests/ftests/038-cgxget-cpuset_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ftests/038-cgxget-cpuset_settings.py b/tests/ftests/038-cgxget-cpuset_settings.py index 575baf3b..b2c88005 100755 --- a/tests/ftests/038-cgxget-cpuset_settings.py +++ b/tests/ftests/038-cgxget-cpuset_settings.py @@ -93,7 +93,7 @@ def is_cpuset_exclusive_oddity(entry, out): # partition reason string"), doesn't return error but needs to be # read again if (entry[0] == 'cpuset.cpu_exclusive' and entry[1] == '1' and - (out == '0' or out[:12] == "root invalid")): + (out == '0' or out[:12] == 'root invalid')): return True if (entry[0] == 'cpuset.cpus.partition' and entry[1] == 'root' and -- 2.47.3