From d7c69ea2b461f1c4305888934013edd5278f8ffb Mon Sep 17 00:00:00 2001 From: nulano Date: Tue, 2 Jul 2019 11:14:09 +0200 Subject: [PATCH] skip test_unicode_extended on Python 2.x --- Tests/test_imagefont.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Tests/test_imagefont.py b/Tests/test_imagefont.py index 5532750fe..ee630a556 100644 --- a/Tests/test_imagefont.py +++ b/Tests/test_imagefont.py @@ -463,10 +463,7 @@ class TestImageFont(PillowTestCase): with self.assertRaises(UnicodeEncodeError): font.getsize(u"’") - @unittest.skipIf( - sys.platform.startswith("win32") and sys.version.startswith("2"), - "requires Python 3.x on Windows", - ) + @unittest.skipIf(sys.version.startswith("2"), "requires Python 3.3+") def test_unicode_extended(self): # issue #3777 text = u"A\u278A\U0001F12B"