Skip to content

Commit

Permalink
Make adjustments to tests more consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
barneygale committed Nov 26, 2023
1 parent 73777f2 commit 9977fe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_pathlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -2802,7 +2802,7 @@ def test_walk_above_recursion_limit(self):
# directory_depth > recursion_limit
directory_depth = recursion_limit + 10
base = self.cls(BASE, 'deep')
path = self.cls(BASE, 'deep', *(['d'] * directory_depth))
path = base.joinpath(*(['d'] * directory_depth))
path.mkdir(parents=True)

with set_recursion_limit(recursion_limit):
Expand Down

0 comments on commit 9977fe8

Please sign in to comment.