Skip to content

Commit 05d0aac

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1d592d6 commit 05d0aac

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/services/contents/test_manager.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,7 @@ def _make_big_dir(contents_manager, api_path):
9393
# we only want to increase the number of folder if the tests is being run on
9494
# windows, otherwise the for loop doesn't need to run as long as this
9595
# function is already slow enough
96-
if platform.system() == "Windows":
97-
num_sub_folders = 500
98-
else:
99-
num_sub_folders = 200
96+
num_sub_folders = 500 if platform.system() == "Windows" else 200
10097

10198
for i in range(num_sub_folders):
10299
os.makedirs(f"{os_path}/subfolder-{i}")

0 commit comments

Comments
 (0)