divmod-dev team mailing list archive
-
divmod-dev team
-
Mailing list archive
-
Message #00410
[Merge] lp:~jjacobs/divmod.org/1175494-failing-imaginary-text-tests into lp:divmod.org
Jonathan Jacobs has proposed merging lp:~jjacobs/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/~jjacobs/divmod.org/1175494-failing-imaginary-text-tests/+merge/162048
Fix failing Imaginary text tests.
--
https://code.launchpad.net/~jjacobs/divmod.org/1175494-failing-imaginary-text-tests/+merge/162048
Your team Divmod-dev is requested to review the proposed merge of lp:~jjacobs/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:30:36 +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