Commit 078f644c authored by David Wei's avatar David Wei Committed by Jakub Kicinski
Browse files

selftests: fix nested double quotes in f-string



Replace nested double quotes in f-string with outer single quotes.

Fixes: 6116075e ("selftests: nic_link_layer: Add link layer selftest for NIC driver")
Signed-off-by: default avatarDavid Wei <dw@davidwei.uk>
Link: https://patch.msgid.link/20241122064821.2821199-1-dw@davidwei.uk


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent ae7370e6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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]