skip test_unicode_extended on Python 2.x

This commit is contained in:
nulano 2019-07-02 11:14:09 +02:00
parent 22ce5cc0c7
commit d7c69ea2b4

View File

@ -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"