mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 18:56:17 +03:00
skip test_unicode_extended on Python 2.x
This commit is contained in:
parent
22ce5cc0c7
commit
d7c69ea2b4
|
@ -463,10 +463,7 @@ class TestImageFont(PillowTestCase):
|
||||||
with self.assertRaises(UnicodeEncodeError):
|
with self.assertRaises(UnicodeEncodeError):
|
||||||
font.getsize(u"’")
|
font.getsize(u"’")
|
||||||
|
|
||||||
@unittest.skipIf(
|
@unittest.skipIf(sys.version.startswith("2"), "requires Python 3.3+")
|
||||||
sys.platform.startswith("win32") and sys.version.startswith("2"),
|
|
||||||
"requires Python 3.x on Windows",
|
|
||||||
)
|
|
||||||
def test_unicode_extended(self):
|
def test_unicode_extended(self):
|
||||||
# issue #3777
|
# issue #3777
|
||||||
text = u"A\u278A\U0001F12B"
|
text = u"A\u278A\U0001F12B"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user