aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hwsim/test_macsec.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hwsim/test_macsec.py')
-rw-r--r--tests/hwsim/test_macsec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hwsim/test_macsec.py b/tests/hwsim/test_macsec.py
index 1b36e9f..8de4bf0 100644
--- a/tests/hwsim/test_macsec.py
+++ b/tests/hwsim/test_macsec.py
@@ -164,7 +164,7 @@ def add_wpas_interfaces(count=2):
wpas = WpaSupplicant(global_iface='/tmp/wpas-wlan5')
wpas.interface_add("veth%d" % i, driver="macsec_linux")
wpa.append(wpas)
- except Exception, e:
+ except Exception as e:
if "Failed to add a dynamic wpa_supplicant interface" in str(e):
raise HwsimSkip("macsec supported (wpa_supplicant CONFIG_MACSEC, CONFIG_MACSEC_LINUX; kernel CONFIG_MACSEC)")
raise