summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2019-09-27 15:15:37 -0500
committerJeff Forcier <jeff@bitprophet.org>2019-09-27 15:15:37 -0500
commit72baedd63e42e0af3ea1a26a7b151328a4dd173d (patch)
tree8aeeabd2b69d925e5ad75f6e36445114bdd1c945
parent014f6dc4430c2561a1a6bca707ba81ced5e6998b (diff)
Python 2 fix - not all exceptions have .msg under this interp version
-rw-r--r--tests/test_proxy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_proxy.py b/tests/test_proxy.py
index 9d707a4a..2e0b0e51 100644
--- a/tests/test_proxy.py
+++ b/tests/test_proxy.py
@@ -141,4 +141,4 @@ class TestProxyCommand(object):
# module-time ImportErrors. So we mock the symptoms. Meh!
with raises(ImportError) as info:
ProxyCommand("hi!!!")
- assert info.value.msg == "meh"
+ assert str(info.value) == "meh"