Skip to contentSkip to conversation

selftests: fix nested double quotes in f-string

PATCH Applied David Wei 2 participants 2 messages Nov 22, 2024 – Nov 25, 2024

Subsystems (3)
lore
Share & tools
lore

David Wei

author
#0 lore raw

PATCH 1/1 selftests: fix nested double quotes in f-string

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

Fixes 6116075e18f7 ("selftests: nic_link_layer: Add link layer selftest for NIC driver")
---
 tools/testing/selftests/drivers/net/hw/lib/py/linkconfig.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/drivers/net/hw/lib/py/linkconfig.py +1 -1
index db84000fc75b..79fde603cbbc 100644
@@ -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]
Signature · 1 line
2.43.5
#1 lore raw
This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:

Quoted 7 lines · On Thu, 21 Nov 2024 22:48:21 -0800 you wrote:

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

Fixes 6116075e18f7 ("selftests: nic_link_layer: Add link layer selftest for NIC driver")
---
 tools/testing/selftests/drivers/net/hw/lib/py/linkconfig.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- [net,v1] selftests: fix nested double quotes in f-string

    https://git.kernel.org/netdev/net/c/078f644cb81b

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html