]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
selftests: fix nested double quotes in f-string
authorDavid Wei <dw@davidwei.uk>
Fri, 22 Nov 2024 06:48:21 +0000 (22:48 -0800)
committerJakub Kicinski <kuba@kernel.org>
Mon, 25 Nov 2024 00:42:44 +0000 (16:42 -0800)
Replace nested double quotes in f-string with outer single quotes.

Fixes: 6116075e18f7 ("selftests: nic_link_layer: Add link layer selftest for NIC driver")
Signed-off-by: David Wei <dw@davidwei.uk>
Link: https://patch.msgid.link/20241122064821.2821199-1-dw@davidwei.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/hw/lib/py/linkconfig.py

index db84000fc75b1a9d14b8828c4fb1c9e46a911bde..79fde603cbbc2d4128e3b1c1e7ab3cd6cb1a449e 100644 (file)
@@ -218,5 +218,5 @@ class LinkConfig:
         json_data = process[0]
         """Check if the field exist in the json data"""
         if field not in json_data:
-            raise KsftSkipEx(f"Field {field} does not exist in the output of interface {json_data["ifname"]}")
+            raise KsftSkipEx(f'Field {field} does not exist in the output of interface {json_data["ifname"]}')
         return json_data[field]