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.
2 parents 4c54f89 + 23b7bbf commit 008c424Copy full SHA for 008c424
cyaron/tests/compare_test.py
@@ -44,8 +44,8 @@ def test_noipstyle_incorrect(self):
44
io = IO("test_compare_incorrect.in", "test_compare_incorrect.out")
45
46
io.output_writeln("test123 \ntest123\n")
47
- with open("test_another_incorrect.out", "w") as f:
48
- f.write("test123\r\ntest124 ")
+ with open("test_another_incorrect.out", "wb") as f:
+ f.write(b"test123\r\ntest124 ")
49
50
try:
51
with captured_output() as (out, err):
0 commit comments