aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hwsim/test_fils.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hwsim/test_fils.py')
-rw-r--r--tests/hwsim/test_fils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hwsim/test_fils.py b/tests/hwsim/test_fils.py
index 7d8b5f4..f4c5af2 100644
--- a/tests/hwsim/test_fils.py
+++ b/tests/hwsim/test_fils.py
@@ -198,7 +198,7 @@ def test_fils_sk_pmksa_caching_ocv(dev, apdev, params):
params['ocv'] = '1'
try:
hapd = hostapd.add_ap(apdev[0]['ifname'], params)
- except Exception, e:
+ except Exception as e:
if "Failed to set hostapd parameter ocv" in str(e):
raise HwsimSkip("OCV not supported")
raise