]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-102613: Bump recursion limit to fix running test_pathlib under Coverage...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 13 Jun 2023 21:21:04 +0000 (14:21 -0700)
committerGitHub <noreply@github.com>
Tue, 13 Jun 2023 21:21:04 +0000 (21:21 +0000)
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>
Lib/test/test_pathlib.py

index bf4decf9f97ae86deae87c73ac0ed7b45319eb02..f716f1075bcb3e6c378bf3a7d50de32739a22969 100644 (file)
@@ -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')