aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hwsim/test_ibss.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hwsim/test_ibss.py')
-rw-r--r--tests/hwsim/test_ibss.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/hwsim/test_ibss.py b/tests/hwsim/test_ibss.py
index 2c58b22..a9935df 100644
--- a/tests/hwsim/test_ibss.py
+++ b/tests/hwsim/test_ibss.py
@@ -240,15 +240,15 @@ def test_ibss_wpa_none(dev):
# mac80211 currently..
try:
hwsim_utils.test_connectivity(dev[0], dev[1])
- except Exception, e:
+ except Exception as e:
logger.info("Ignoring known connectivity failure: " + str(e))
try:
hwsim_utils.test_connectivity(dev[0], dev[2])
- except Exception, e:
+ except Exception as e:
logger.info("Ignoring known connectivity failure: " + str(e))
try:
hwsim_utils.test_connectivity(dev[1], dev[2])
- except Exception, e:
+ except Exception as e:
logger.info("Ignoring known connectivity failure: " + str(e))
key_mgmt = dev[0].get_status_field("key_mgmt")
@@ -291,7 +291,7 @@ def test_ibss_wpa_none_ccmp(dev):
# mac80211 currently..
try:
hwsim_utils.test_connectivity(dev[0], dev[1])
- except Exception, e:
+ except Exception as e:
logger.info("Ignoring known connectivity failure: " + str(e))
def test_ibss_open(dev):