Skip to content

Commit 078f644

Browse files
spikehkuba-moo
authored andcommitted
selftests: fix nested double quotes in f-string
Replace nested double quotes in f-string with outer single quotes. Fixes: 6116075 ("selftests: nic_link_layer: Add link layer selftest for NIC driver") Signed-off-by: David Wei <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent ae7370e commit 078f644

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/drivers/net/hw/lib/py/linkconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,5 +218,5 @@ def get_ethtool_field(self, field: str, remote: bool = False) -> Optional[str]:
218218
json_data = process[0]
219219
"""Check if the field exist in the json data"""
220220
if field not in json_data:
221-
raise KsftSkipEx(f"Field {field} does not exist in the output of interface {json_data["ifname"]}")
221+
raise KsftSkipEx(f'Field {field} does not exist in the output of interface {json_data["ifname"]}')
222222
return json_data[field]

0 commit comments

Comments
 (0)