From fc16b3fedfeea88e1117d26737c0b3f83a70f822 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Sat, 6 Oct 2018 17:18:40 +0200 Subject: [PATCH] Fix non py3-compatible test in CI --- allauth_ens/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/allauth_ens/tests.py b/allauth_ens/tests.py index f8bf5c0..002a8f3 100644 --- a/allauth_ens/tests.py +++ b/allauth_ens/tests.py @@ -375,4 +375,4 @@ class LongTermClipperTests(CASTestCase): for uid in uids: with self.assertRaises(ValueError) as cm: get_ldap_infos(uid) - self.assertIn(uid, cm.exception.message) + self.assertIn(uid, str(cm.exception))