mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
[3.12] gh-102613: Bump recursion limit to fix running test_pathlib under Coverage (GH-105744) (#105749)
gh-102613: Bump recursion limit to fix running test_pathlib under Coverage (GH-105744)
(cherry picked from commit 4e80082723
)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
This commit is contained in:
parent
c3a2cbb54d
commit
27426d8983
1 changed files with 1 additions and 1 deletions
|
@ -1985,7 +1985,7 @@ class _BasePathTest(object):
|
||||||
self.assertEqual(sorted(base.glob('**/*')), [bad_link])
|
self.assertEqual(sorted(base.glob('**/*')), [bad_link])
|
||||||
|
|
||||||
def test_glob_above_recursion_limit(self):
|
def test_glob_above_recursion_limit(self):
|
||||||
recursion_limit = 40
|
recursion_limit = 50
|
||||||
# directory_depth > recursion_limit
|
# directory_depth > recursion_limit
|
||||||
directory_depth = recursion_limit + 10
|
directory_depth = recursion_limit + 10
|
||||||
base = pathlib.Path(os_helper.TESTFN, 'deep')
|
base = pathlib.Path(os_helper.TESTFN, 'deep')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue