diff --git a/sleekxmpp/test/sleektest.py b/sleekxmpp/test/sleektest.py index fa53bf73..89e3712f 100644 --- a/sleekxmpp/test/sleektest.py +++ b/sleekxmpp/test/sleektest.py @@ -524,7 +524,7 @@ class SleekTest(unittest.TestCase): # Apply closing elements so that we can construct # XML objects for comparison. header2 = header + '' - sent_header2 = sent_header + '' + sent_header2 = sent_header + b'' xml = self.parse_xml(header2) sent_xml = self.parse_xml(sent_header2) diff --git a/sleekxmpp/xmlstream/__init__.py b/sleekxmpp/xmlstream/__init__.py index 09514958..981f052d 100644 --- a/sleekxmpp/xmlstream/__init__.py +++ b/sleekxmpp/xmlstream/__init__.py @@ -9,7 +9,6 @@ from sleekxmpp.xmlstream.jid import JID from sleekxmpp.xmlstream.scheduler import Scheduler from sleekxmpp.xmlstream.stanzabase import StanzaBase, ElementBase, ET -from sleekxmpp.xmlstream.statemachine import StateMachine from sleekxmpp.xmlstream.tostring import tostring from sleekxmpp.xmlstream.xmlstream import XMLStream, RESPONSE_TIMEOUT from sleekxmpp.xmlstream.xmlstream import RestartStream