Skip to content

Commit d1c5bb2

Browse files
Alexander SnorkinAlexander Snorkin
authored andcommitted
test_progress_bar_print win linesep fix
1 parent 90334de commit d1c5bb2

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
@@ -385,8 +385,8 @@ def test_progress_bar_print(tqdm_write, tmpdir):
385385
assert tqdm_write.call_count == 3
386386
assert tqdm_write.call_args_list == [
387387
call("training_step", end="", file=None, nolock=False),
388-
call("validation_step", end="\n", file=sys.stderr, nolock=False),
389-
call("test_step", end="\n", file=None, nolock=False),
388+
call("validation_step", end=os.linesep, file=sys.stderr, nolock=False),
389+
call("test_step", end=os.linesep, file=None, nolock=False),
390390
]
391391

392392

0 commit comments

Comments
 (0)