From c75cc9fcb3c6d176e5211db510a62801230b5034 Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Thu, 25 Apr 2024 16:33:52 +0200 Subject: [PATCH] Change order of glyphs in test The previous order was giving random errors for no reason. --- tests/draw/test_text.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/draw/test_text.py b/tests/draw/test_text.py index 054584a7b..0ba246636 100644 --- a/tests/draw/test_text.py +++ b/tests/draw/test_text.py @@ -832,10 +832,10 @@ def test_font_size_very_small(assert_pixels): def test_missing_glyph_fallback(assert_pixels): # The apostrophe is not included in weasyprint.otf assert_pixels(''' - zzzzzzzzzzzzzzzzz___ - zzzzzzzzzzzzzzzzzRR_ - zzzzzzzzzzzzzzzzzRR_ - zzzzzzzzzzzzzzzzz___ + ___zzzzzzzzzzzzzzzzz + _RRzzzzzzzzzzzzzzzzz + _RRzzzzzzzzzzzzzzzzz + ___zzzzzzzzzzzzzzzzz ''', ''' 'a''' % SANS_FONTS) + a\'''' % SANS_FONTS) def test_tabulation_character(assert_pixels):