Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 322bfe5

Browse files
committed
Debug Windows newline issue (sorry for the noise)
1 parent e445f9c commit 322bfe5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

mypyc/test-data/run-strings.test

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,8 @@ def test_fstring_conversion() -> None:
581581

582582
tmp_str = """this
583583
is a new line."""
584-
assert f'Test: {tmp_str!a}' == "Test: 'this\\n is a new line.'"
584+
res_str = f'Test: {tmp_str!a}'
585+
assert res_str == "Test: 'this\\n is a new line.'", res_str
585586

586587
s = 'test: āĀēĒčČ..šŠūŪžŽ'
587588
assert f'{s}' == 'test: āĀēĒčČ..šŠūŪžŽ'

0 commit comments

Comments
 (0)