Skip to content

Commit

Permalink
[3.12] pythongh-102613: Bump recursion limit to fix running test_path…
Browse files Browse the repository at this point in the history
…lib under Coverage (pythonGH-105744) (python#105749)

pythongh-102613: Bump recursion limit to fix running test_pathlib under Coverage (pythonGH-105744)
(cherry picked from commit 4e80082)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
  • Loading branch information
miss-islington and ambv committed Jun 13, 2023
1 parent c3a2cbb commit 27426d8
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 @@ -1985,7 +1985,7 @@ def test_glob_long_symlink(self):
self.assertEqual(sorted(base.glob('**/*')), [bad_link])

def test_glob_above_recursion_limit(self):
recursion_limit = 40
recursion_limit = 50
# directory_depth > recursion_limit
directory_depth = recursion_limit + 10
base = pathlib.Path(os_helper.TESTFN, 'deep')
Expand Down

0 comments on commit 27426d8

Please sign in to comment.