Skip to content

Commit

Permalink
test fix with multiple python version
Browse files Browse the repository at this point in the history
  • Loading branch information
ujjawal-khare committed Oct 16, 2024
1 parent b54ad7a commit 1b50d7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/ray/dashboard/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ def test_close_logger_file_descriptor():
job_driver_handler.setFormatter(job_driver_formatter)
logger.addHandler(job_driver_handler)

assert job_driver_handler._closed is False
assert job_driver_handler.stream.closed is False
close_logger_file_descriptor(logger)
assert job_driver_handler._closed is True
assert job_driver_handler.stream is None


if __name__ == "__main__":
Expand Down

0 comments on commit 1b50d7a

Please sign in to comment.