]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-102613: Bump recursion limit to fix running test_pathlib under Coverage (#105744)
authorŁukasz Langa <lukasz@langa.pl>
Tue, 13 Jun 2023 20:44:27 +0000 (20:44 +0000)
committerGitHub <noreply@github.com>
Tue, 13 Jun 2023 20:44:27 +0000 (21:44 +0100)
Lib/test/test_pathlib.py

index 1a008e5cea3f0027c1d8bc2f3a6382e36595951a..5963a3d67ff243f8ce00918703b54954acf3b80e 100644 (file)
@@ -2107,7 +2107,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')