mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-28 02:46:18 +03:00
uncommented test
This commit is contained in:
parent
5cdbec0cfe
commit
9f390a5192
|
@ -525,14 +525,15 @@ class TestImageFont(PillowTestCase):
|
||||||
self.assertEqual(t.getsize_multiline('ABC\nA'), (36, 36))
|
self.assertEqual(t.getsize_multiline('ABC\nA'), (36, 36))
|
||||||
self.assertEqual(t.getsize_multiline('ABC\nAaaa'), (48, 36))
|
self.assertEqual(t.getsize_multiline('ABC\nAaaa'), (48, 36))
|
||||||
|
|
||||||
# def test_complex_font_settings(self):
|
def test_complex_font_settings(self):
|
||||||
# # Arrange
|
# Arrange
|
||||||
# t = self.get_font()
|
t = self.get_font()
|
||||||
# # Act / Assert
|
# Act / Assert
|
||||||
# if t.layout_engine == ImageFont.LAYOUT_BASIC:
|
if t.layout_engine == ImageFont.LAYOUT_BASIC:
|
||||||
# self.assertRaises(KeyError, t.getmask, 'абвг', direction='rtl')
|
self.assertRaises(KeyError, t.getmask, 'абвг', direction='rtl')
|
||||||
# self.assertRaises(KeyError, t.getmask, 'абвг', features=['-kern'])
|
self.assertRaises(KeyError, t.getmask, 'абвг', features=['-kern'])
|
||||||
# self.assertRaises(KeyError, t.getmask, 'абвг', language='sr')
|
self.assertRaises(KeyError, t.getmask, 'абвг', language='sr')
|
||||||
|
|
||||||
|
|
||||||
@unittest.skipUnless(HAS_RAQM, "Raqm not Available")
|
@unittest.skipUnless(HAS_RAQM, "Raqm not Available")
|
||||||
class TestImageFont_RaqmLayout(TestImageFont):
|
class TestImageFont_RaqmLayout(TestImageFont):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user