We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea756f5 commit abad184Copy full SHA for abad184
tests/test_utils.py
@@ -47,7 +47,7 @@ def match_text(self, text: str, sub_label: str = '') -> None:
47
if self.update:
48
path.write_text(text)
49
else:
50
- assert text == path.read_text()
+ assert text == path.open(newline='').read() # newline='' to keep win32 \r
51
52
53
def strip_tb_text(text: str) -> str:
0 commit comments