Merge pull request #98 from cclauss/patch-1
Old style exception won't work in Python 3
This commit is contained in:
@@ -23,7 +23,7 @@ class TestHandshake(unittest.TestCase):
|
|||||||
hs = Handshake(hs_file, bssid='A4:2B:8C:16:6B:3A')
|
hs = Handshake(hs_file, bssid='A4:2B:8C:16:6B:3A')
|
||||||
try:
|
try:
|
||||||
hs.analyze()
|
hs.analyze()
|
||||||
except Exception, e:
|
except Exception:
|
||||||
fail()
|
fail()
|
||||||
|
|
||||||
def testHandshakeTshark(self):
|
def testHandshakeTshark(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user