From baa1eaf73a1892c5a653965ff65e6532115a9a76 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Fri, 20 May 2011 21:36:09 -0400 Subject: Fix test for Python3. Issue of dict_keys vs list data types. --- tests/test_stream_roster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_stream_roster.py') diff --git a/tests/test_stream_roster.py b/tests/test_stream_roster.py index 7f18c312..3bd71fc6 100644 --- a/tests/test_stream_roster.py +++ b/tests/test_stream_roster.py @@ -182,7 +182,7 @@ class TestStreamRoster(SleekTest): subscription='both', groups=['Unicode']) - jids = self.xmpp.client_roster.keys() + jids = list(self.xmpp.client_roster.keys()) self.failUnless(jids == ['andré@foo'], "Too many roster entries found: %s" % jids) -- cgit v1.2.3