aboutsummaryrefslogtreecommitdiff
path: root/Tests/ttLib/tables/C_F_F_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/ttLib/tables/C_F_F_test.py')
-rw-r--r--Tests/ttLib/tables/C_F_F_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/ttLib/tables/C_F_F_test.py b/Tests/ttLib/tables/C_F_F_test.py
index bbdbf4c3..cb8d8c55 100644
--- a/Tests/ttLib/tables/C_F_F_test.py
+++ b/Tests/ttLib/tables/C_F_F_test.py
@@ -1,7 +1,7 @@
"""cffLib_test.py -- unit test for Adobe CFF fonts."""
-from fontTools.misc.py23 import *
from fontTools.ttLib import TTFont, newTable
+from io import StringIO
import re
import os
import unittest
@@ -31,7 +31,7 @@ class CFFTableTest(unittest.TestCase):
font = TTFont(sfntVersion='OTTO')
cffTable = font['CFF '] = newTable('CFF ')
cffTable.decompile(self.cffData, font)
- out = UnicodeIO()
+ out = StringIO()
font.saveXML(out)
cffXML = strip_ttLibVersion(out.getvalue()).splitlines()
self.assertEqual(cffXML, self.cffXML)