Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MoLow committed Mar 8, 2023
1 parent 757d3ca commit 9d45a7e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions test/pseudo-tty/test_runner_default_reporter.out
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion test/pseudo-tty/testcfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [ ]
Expand Down

0 comments on commit 9d45a7e

Please sign in to comment.