diff --git a/test/shaping/hb_test_tools.py b/test/shaping/hb_test_tools.py index 4b261c1a3..b564c2451 100644 --- a/test/shaping/hb_test_tools.py +++ b/test/shaping/hb_test_tools.py @@ -188,6 +188,8 @@ class UtilMains: line = sys.stdin.readline () if not len (line): break + if line[-1] == '\n': + line = line[:-1] print callback (line) else: args = sys.argv[1:]