From 16ca0e1ea6c04445be82db7dd448ac78bf6e887a Mon Sep 17 00:00:00 2001 From: Julen Landa Alustiza Date: Sep 25 2018 21:21:08 +0000 Subject: Fix testing pip install help message handling on python 3 --- diff --git a/testing/test_general.py b/testing/test_general.py index 3fb7d46..a320263 100644 --- a/testing/test_general.py +++ b/testing/test_general.py @@ -187,7 +187,7 @@ class TestMessaging(): try: plugin = messaging.load_messaging_plugin('fedmsg', {}) except KeyError as err: - if "not found" in err.message: + if "not found" in str(err): print ("""=============== HINT =============== This exception can be caused by the fact, that you did not run `python setup.py develop` before executing the testsuite.