summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-06-13 21:21:04 (GMT)
committerGitHub <noreply@github.com>2023-06-13 21:21:04 (GMT)
commit27426d89835ef6e2f28c5b48d553826daa01120b (patch)
tree4fa1235de2d0af6bd64bb050101f2491d56afd78
parentc3a2cbb54d19e86f1ff402f7783d51610c2ff646 (diff)
downloadcpython-27426d89835ef6e2f28c5b48d553826daa01120b.zip
cpython-27426d89835ef6e2f28c5b48d553826daa01120b.tar.gz
cpython-27426d89835ef6e2f28c5b48d553826daa01120b.tar.bz2
[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 4e80082723b768df124f77d2b73b3ba6b584a735) Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
-rw-r--r--Lib/test/test_pathlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_pathlib.py b/Lib/test/test_pathlib.py
index bf4decf..f716f10 100644
--- a/Lib/test/test_pathlib.py
+++ b/Lib/test/test_pathlib.py
@@ -1985,7 +1985,7 @@ class _BasePathTest(object):
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')