Really fix python 2.6 build this time
This commit is contained in:
parent
c9402c1685
commit
3f36721d87
@ -6,7 +6,7 @@ import fontTools.encodings.codecs # Not to be confused with "import codecs"
|
|||||||
class ExtendedCodecsTest(unittest.TestCase):
|
class ExtendedCodecsTest(unittest.TestCase):
|
||||||
|
|
||||||
def test_decode(self):
|
def test_decode(self):
|
||||||
self.assertEqual(b'x\xfe\xfdy'.decode(encoding="x-mac-japanese-ttx"),
|
self.assertEqual(b'x\xfe\xfdy'.decode("x-mac-japanese-ttx"),
|
||||||
unichr(0x78)+unichr(0x2122)+unichr(0x00A9)+unichr(0x79))
|
unichr(0x78)+unichr(0x2122)+unichr(0x00A9)+unichr(0x79))
|
||||||
|
|
||||||
def test_encode(self):
|
def test_encode(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user