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("""