Skip to content

Commit 5eff83e

Browse files
committed
Make test python 3 compatible.
1 parent f78b0e9 commit 5eff83e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_vultr.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def test_post_api_key(self):
4545
try:
4646
response = self.vultr.server_label_set('', '')
4747
except VultrError as e:
48-
msg = e.message
48+
msg = str(e)
4949
self.assertEqual(msg, "Request failed. Check the response body" +
5050
" for a more detailed description. Body:" +
5151
" \nInvalid server. Check SUBID value and" +

0 commit comments

Comments
 (0)