Commits

Jason R. Coombs committed 4047897

Fixed some test failures on Python 2

  • Participants
  • Parent commits 5e3383f

Comments (0)

Files changed (1)

File irc/client.py

         return len(self.buffer)
 
 class DecodingLineBuffer(LineBuffer):
-    r"""
+    ur"""
     Like LineBuffer, but decode the output (default assumes UTF-8).
 
     >>> b = DecodingLineBuffer()
     >>> rb = DecodingLineBuffer()
     >>> b.errors = 'replace'
     >>> b.feed(b'Ol\xe9\n')
-    >>> list(b.lines()) == ['Ol\ufffd']
+    >>> list(b.lines()) == [u'Ol\ufffd']
     True
     """
     encoding = 'utf-8'