Skip to content

Commit abad184

Browse files
author
Andy Landy
committed
fix tests
1 parent ea756f5 commit abad184

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def match_text(self, text: str, sub_label: str = '') -> None:
4747
if self.update:
4848
path.write_text(text)
4949
else:
50-
assert text == path.read_text()
50+
assert text == path.open(newline='').read() # newline='' to keep win32 \r
5151

5252

5353
def strip_tb_text(text: str) -> str:

0 commit comments

Comments
 (0)