tests: Use python3 compatible raise statement

This patch is made by using 2to3 command.

find . -name *.py | xargs 2to3 -f raise -w -n

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
This commit is contained in:
Masashi Honma 2019-01-24 16:45:46 +09:00 committed by Jouni Malinen
parent 8c851c2e36
commit e1bb41bfde

View file

@ -189,7 +189,7 @@ class FstDevice:
def grequest(self, req):
"""Send request on the global control interface"""
raise Exception, "Virtual grequest() called!"
raise Exception("Virtual grequest() called!")
def wait_gevent(self, events, timeout=None):
"""Wait for a list of events on the global interface"""