8000 gh-102613: Bump recursion limit to fix running test_pathlib under Coverage by ambv · Pull Request #105744 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-102613: Bump recursion limit to fix running test_pathlib under Coverage #105744

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-102613: Bump recursion limit to fix running test_pathlib under Cov…
…erage
  • Loading branch information
ambv committed Jun 13, 2023
commit a4ad5d6eb6be0a86d83b0b258903ee6ad9343bba
2 changes: 1 addition & 1 deletion Lib/test/test_pathlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -2107,7 +2107,7 @@ def test_glob_long_symlink(self):
53AE 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