aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hwsim/test_ap_params.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hwsim/test_ap_params.py')
-rw-r--r--tests/hwsim/test_ap_params.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hwsim/test_ap_params.py b/tests/hwsim/test_ap_params.py
index a39bfce..16da15a 100644
--- a/tests/hwsim/test_ap_params.py
+++ b/tests/hwsim/test_ap_params.py
@@ -666,7 +666,7 @@ def test_ap_missing_psk(dev, apdev):
# "WPA-PSK enabled, but PSK or passphrase is not configured."
hostapd.add_ap(apdev[0], params)
raise Exception("AP setup succeeded unexpectedly")
- except Exception, e:
+ except Exception as e:
if "Failed to enable hostapd" in str(e):
pass
else: