_t_r_a_k: do not import unicode_literals as it makes struct fail on some old Python 2.7.x
On the latest Python 2.7.10, struct accepts both unicode and str as 'fmt'. However on Travis for py27 we use the built-in OSX Python, which on OSX 10.9 is Python 2.7.5. Travis log: https://travis-ci.org/anthrotype/fonttools/jobs/96473892#L3010 Python issue: https://bugs.python.org/issue19099
This commit is contained in:
parent
8d4f59b4c3
commit
0227945781
@ -1,4 +1,4 @@
|
||||
from __future__ import print_function, division, absolute_import, unicode_literals
|
||||
from __future__ import print_function, division, absolute_import
|
||||
from fontTools.misc.py23 import *
|
||||
from fontTools.misc import sstruct
|
||||
from fontTools.misc.fixedTools import fixedToFloat as fi2fl, floatToFixed as fl2fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user