/usr/lib/python2.7/dist-packages/kiva/agg/tests/unicode_font_test_case.py is in python-enable 4.3.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | import unittest
from kiva.agg import AggFontType, GraphicsContextArray
from kiva.fonttools import Font
class UnicodeTest(unittest.TestCase):
def test_show_text_at_point(self):
gc = GraphicsContextArray((100,100))
gc.set_font(Font())
gc.show_text_at_point(unicode('asdf'), 5,5)
def test_agg_font_type(self):
f = AggFontType(u"Arial")
if __name__ == "__main__":
unittest.main()
|