A test that reliably triggers the current failure

This commit is contained in:
Kovid Goyal 2017-11-13 15:30:30 +05:30
parent aef8b4ae67
commit 26e6716f67
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -61,6 +61,7 @@ class Rendering(BaseTest):
self.assertEqual(len(self.sprites), prerendered + len(box_chars)) self.assertEqual(len(self.sprites), prerendered + len(box_chars))
def test_font_rendering(self): def test_font_rendering(self):
render_string('ab\u0347\u0305你好|\U0001F601|\U0001F64f|\U0001F63a|')
text = 'He\u0347\u0305llo\u0341, w\u0302or\u0306l\u0354d!' text = 'He\u0347\u0305llo\u0341, w\u0302or\u0306l\u0354d!'
# macOS has no fonts capable of rendering combining chars # macOS has no fonts capable of rendering combining chars
if isosx: if isosx: