Skip to content

Commit 599aa6a

Browse files
Alexander SnorkinAlexander Snorkin
authored andcommitted
test_progress_bar_print win linesep fix
1 parent ab908cf commit 599aa6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/callbacks/test_progress_bar.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,8 @@ def test_progress_bar_print(tqdm_write, tmpdir):
408408
assert tqdm_write.call_count == 3
409409
assert tqdm_write.call_args_list == [
410410
call("training_step", end="", file=None, nolock=False),
411-
call("validation_step", end="\n", file=sys.stderr, nolock=False),
412-
call("test_step", end="\n", file=None, nolock=False),
411+
call("validation_step", end=os.linesep, file=sys.stderr, nolock=False),
412+
call("test_step", end=os.linesep, file=None, nolock=False),
413413
]
414414

415415

0 commit comments

Comments
 (0)