Skip to content

Commit 9d45a7e

Browse files
committed
fix
1 parent 757d3ca commit 9d45a7e

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
[32m should pass [90m(*ms)[39m[39m
2-
[31m should fail [90m(*ms)[39m
1+
[32m* should pass [90m(*ms)[39m[39m
2+
[31m* should fail [90m(*ms)[39m
33
Error: fail
44
at * [90m(*)[39m
55
[90m at *[39m
@@ -9,11 +9,11 @@
99
[90m at *[39m
1010
[90m at *[39m
1111
**
12-
[90m should skip [90m(*ms)[39m # SKIP[39m
13-
[34mℹ tests 3[39m
14-
[34mℹ pass 1[39m
15-
[34mℹ fail 1[39m
16-
[34mℹ cancelled 0[39m
17-
[34mℹ skipped 1[39m
18-
[34mℹ todo 0[39m
19-
[34mℹ duration_ms *[39m
12+
[90m* should skip [90m(*ms)[39m # SKIP[39m
13+
[34m* tests 3[39m
14+
[34m* pass 1[39m
15+
[34m* fail 1[39m
16+
[34m* cancelled 0[39m
17+
[34m* skipped 1[39m
18+
[34m* todo 0[39m
19+
[34m* duration_ms *[39m

test/pseudo-tty/testcfg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def IgnoreLine(self, str_arg):
5656
else: return str_arg.startswith('==') or str_arg.startswith('**')
5757

5858
def IsFailureOutput(self, output):
59-
f = open(self.expected, "r", encoding="utf-8")
59+
f = open(self.expected)
6060
# Convert output lines to regexps that we can match
6161
env = { 'basename': basename(self.file) }
6262
patterns = [ ]

0 commit comments

Comments
 (0)