~divmod-dev/divmod.org/829869-explicit-type-dropping

« back to all changes in this revision

Viewing changes to Imaginary/imaginary/test/test_text.py

  • Committer: exarkun
  • Date: 2010-07-16 16:39:06 UTC
  • Revision ID: svn-v4:866e43f7-fbfc-0310-8f2a-ec88d1da2979:trunk:18002
Merge ideographic-space-is-full-width-2990

Author: exarkun
Reviewer: mithrandi
Fixes: #2990

Replace the use of LATIN SMALL LETTER GLOTTAL STOP in the full-width
backspace handling test with IDEOGRAPHIC SPACE.  The former is not
actually full-width, it was merely marked as being so in version 4.1
of the unicode database.

Show diffs side-by-side

added added

removed removed

Lines of Context:
439
439
        If a backspace keystroke is received when the cursor is positioned
440
440
        directly after a character with an I{east asian width} of
441
441
        I{fullwidth}, character is removed from the input buffer and the
442
 
        character is erased from the client display with a C{'\b\b \b\b'}
 
442
        character is erased from the client display with a C{'\b\b  \b\b'}
443
443
        sequence.
444
444
        """
445
 
        self._backspaceTest(u'\u0242', 2)
 
445
        self._backspaceTest(u'\u3000', 2)
446
446
 
447
447
 
448
448
    def test_eraseHalfwidthWithBackspace(self):