summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pathlib.py
diff options
context:
space:
mode:
authorƁukasz Langa <lukasz@langa.pl>2023-06-13 20:44:27 (GMT)
committerGitHub <noreply@github.com>2023-06-13 20:44:27 (GMT)
commit4e80082723b768df124f77d2b73b3ba6b584a735 (patch)
tree492f5ac9746fcbe748e9f86177b0eec84027e55e /Lib/test/test_pathlib.py
parentbe2779c0cb54e56ea4bb9822cc7bb5c24e6a7af7 (diff)
downloadcpython-4e80082723b768df124f77d2b73b3ba6b584a735.zip
cpython-4e80082723b768df124f77d2b73b3ba6b584a735.tar.gz
cpython-4e80082723b768df124f77d2b73b3ba6b584a735.tar.bz2
gh-102613: Bump recursion limit to fix running test_pathlib under Coverage (#105744)
Diffstat (limited to 'Lib/test/test_pathlib.py')
-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 1a008e5..5963a3d 100644
--- a/Lib/test/test_pathlib.py
+++ b/Lib/test/test_pathlib.py
@@ -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')