From ec9aed5b751cac187b774794c7d8ca9de298838a Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Wed, 25 May 2011 15:52:42 -0700 Subject: [PATCH] Fix test for get_roster(). Python2.6 has issues passing a Unicode string as a keyword name. --- tests/test_stream_roster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_stream_roster.py b/tests/test_stream_roster.py index 15b8683a..e1aa1766 100644 --- a/tests/test_stream_roster.py +++ b/tests/test_stream_roster.py @@ -136,7 +136,7 @@ class TestStreamRoster(SleekTest): # Since get_roster blocks, we need to run it in a thread. t = threading.Thread(name='get_roster', target=self.xmpp.get_roster, - kwargs={'callback': roster_callback}) + kwargs={str('callback'): roster_callback}) t.start() self.send("""