[tests] minor
This commit is contained in:
parent
322426f8c8
commit
d38d63319b
|
@ -62,7 +62,7 @@ def run_test (test, should_check_ots):
|
||||||
font.saveXML (expected_ttx)
|
font.saveXML (expected_ttx)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print (e)
|
print (e)
|
||||||
return fail_test (test, cli_args, "ttx (expected) returned %d" % (return_code))
|
return fail_test (test, cli_args, "ttx failed to parse the expected result")
|
||||||
|
|
||||||
actual_ttx = io.StringIO ()
|
actual_ttx = io.StringIO ()
|
||||||
try:
|
try:
|
||||||
|
@ -70,7 +70,7 @@ def run_test (test, should_check_ots):
|
||||||
font.saveXML (actual_ttx)
|
font.saveXML (actual_ttx)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print (e)
|
print (e)
|
||||||
return fail_test (test, cli_args, "ttx (actual) returned %d" % (return_code))
|
return fail_test (test, cli_args, "ttx failed to parse the actual result")
|
||||||
|
|
||||||
expected_ttx_text = strip_check_sum (expected_ttx.getvalue ())
|
expected_ttx_text = strip_check_sum (expected_ttx.getvalue ())
|
||||||
expected_ttx.close ()
|
expected_ttx.close ()
|
||||||
|
|
Loading…
Reference in New Issue