Skip to content

Commit 4ef5353

Browse files
committed
string conv exception
1 parent 35263dd commit 4ef5353

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tests/test_local.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def test_multiple(self):
2525
self.local2 = Local(os.environ['BROWSERSTACK_ACCESS_KEY'])
2626
self.local2.start()
2727
except BrowserStackLocalError as e:
28-
self.assertEqual(e.message, "Either another browserstack local client is running on your machine or some server is listening on port 45691")
28+
self.assertEqual(str(e), "Either another browserstack local client is running on your machine or some server is listening on port 45691")
2929

3030
def test_verbose(self):
3131
self.local.start(v=True, onlyCommand=True)

0 commit comments

Comments
 (0)