diff --git a/test/pseudo-tty/test_runner_default_reporter.out b/test/pseudo-tty/test_runner_default_reporter.out index 21af040ff7f8c2f..795b7e556d13d8a 100644 --- a/test/pseudo-tty/test_runner_default_reporter.out +++ b/test/pseudo-tty/test_runner_default_reporter.out @@ -1,5 +1,5 @@ -[32m✔ should pass [90m(*ms)[39m[39m -[31m✖ should fail [90m(*ms)[39m +[32m* should pass [90m(*ms)[39m[39m +[31m* should fail [90m(*ms)[39m Error: fail at * [90m(*)[39m [90m at *[39m @@ -9,11 +9,11 @@ [90m at *[39m [90m at *[39m ** -[90m﹣ should skip [90m(*ms)[39m # SKIP[39m -[34mℹ tests 3[39m -[34mℹ pass 1[39m -[34mℹ fail 1[39m -[34mℹ cancelled 0[39m -[34mℹ skipped 1[39m -[34mℹ todo 0[39m -[34mℹ duration_ms *[39m +[90m* should skip [90m(*ms)[39m # SKIP[39m +[34m* tests 3[39m +[34m* pass 1[39m +[34m* fail 1[39m +[34m* cancelled 0[39m +[34m* skipped 1[39m +[34m* todo 0[39m +[34m* duration_ms *[39m diff --git a/test/pseudo-tty/testcfg.py b/test/pseudo-tty/testcfg.py index c91da87a8f476af..df380ad31eff1e1 100644 --- a/test/pseudo-tty/testcfg.py +++ b/test/pseudo-tty/testcfg.py @@ -56,7 +56,7 @@ def IgnoreLine(self, str_arg): else: return str_arg.startswith('==') or str_arg.startswith('**') def IsFailureOutput(self, output): - f = open(self.expected, "r", encoding="utf-8") + f = open(self.expected) # Convert output lines to regexps that we can match env = { 'basename': basename(self.file) } patterns = [ ]