aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hwsim/test_wext.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hwsim/test_wext.py')
-rw-r--r--tests/hwsim/test_wext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hwsim/test_wext.py b/tests/hwsim/test_wext.py
index 9c1c0c8..2bf3451 100644
--- a/tests/hwsim/test_wext.py
+++ b/tests/hwsim/test_wext.py
@@ -21,7 +21,7 @@ def get_wext_interface():
wpas = WpaSupplicant(global_iface='/tmp/wpas-wlan5')
try:
wpas.interface_add("wlan5", driver="wext")
- except Exception, e:
+ except Exception as e:
wpas.close_ctrl()
raise HwsimSkip("WEXT driver support not included in wpa_supplicant")
return wpas