[_k_e_r_n] add nocover for sys.byteorder check

as we don't run test on big endian systems so that check is always true anyway...
This commit is contained in:
Cosimo Lupo 2017-11-03 19:59:42 +00:00
parent 69d3bfadcc
commit 982c956a08

View File

@ -126,7 +126,7 @@ class KernTable_format_0(object):
nPairs = min(nPairs, len(data) // 6)
datas = array.array("H", data[:6 * nPairs])
if sys.byteorder != "big":
if sys.byteorder != "big": # pragma: no cover
datas.byteswap()
it = iter(datas)
glyphOrder = ttFont.getGlyphOrder()