aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hwsim/test_mbo.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hwsim/test_mbo.py')
-rw-r--r--tests/hwsim/test_mbo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hwsim/test_mbo.py b/tests/hwsim/test_mbo.py
index 3eb0f51..a36aee2 100644
--- a/tests/hwsim/test_mbo.py
+++ b/tests/hwsim/test_mbo.py
@@ -528,7 +528,7 @@ def test_mbo_without_pmf(dev, apdev):
# "MBO: PMF needs to be enabled whenever using WPA2 with MBO"
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: