← Back to team overview

divmod-dev team mailing list archive

[Merge] lp:~divmod-dev/divmod.org/1175494-failing-imaginary-text-tests into lp:divmod.org

 

Jonathan Jacobs has proposed merging lp:~divmod-dev/divmod.org/1175494-failing-imaginary-text-tests into lp:divmod.org.

Requested reviews:
  Divmod-dev (divmod-dev)

For more details, see:
https://code.launchpad.net/~divmod-dev/divmod.org/1175494-failing-imaginary-text-tests/+merge/162047


-- 
https://code.launchpad.net/~divmod-dev/divmod.org/1175494-failing-imaginary-text-tests/+merge/162047
Your team Divmod-dev is requested to review the proposed merge of lp:~divmod-dev/divmod.org/1175494-failing-imaginary-text-tests into lp:divmod.org.
=== modified file 'Imaginary/imaginary/test/test_text.py'
--- Imaginary/imaginary/test/test_text.py	2010-07-16 16:39:06 +0000
+++ Imaginary/imaginary/test/test_text.py	2013-05-02 08:25:32 +0000
@@ -333,7 +333,7 @@
             self._scrollDown()
         # The following conditional has been changed from the original.
         if (b > '\x7f' or b in string.printable) and b not in '\r\n':
-            ch = (b, self._currentCharacterAttributes())
+            ch = (b, self._currentFormattingState())
             if self.modes.get(insults.modes.IRM):
                 self.lines[self.y][self.x:self.x] = [ch]
                 self.lines[self.y].pop()


Follow ups