Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 19, 2025
1 parent 735553f commit 7eb3d34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,7 @@ def test_get_objects_stream_closes(temp_dir, generate_random_data):
"""
# Check if it starts with 0 open files
current_process = psutil.Process()
assert len(current_process.open_files()) == 0
assert len(current_process.open_files()) == 0

temp_container = Container(temp_dir)
temp_container.init_container()
Expand Down Expand Up @@ -1282,7 +1282,7 @@ def test_get_objects_stream_closes(temp_dir, generate_random_data):

# Check if it goes back to 0
temp_container.close()
assert len(current_process.open_files()) == 0
assert len(current_process.open_files()) == 0


def test_deletion_closes_file_descriptors(temp_dir):
Expand Down

0 comments on commit 7eb3d34

Please sign in to comment.