summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-05-30 03:28:55 (GMT)
committerGitHub <noreply@github.com>2024-05-30 03:28:55 (GMT)
commit810a09ad3710be60cff9e174be85ca65e76cdbd1 (patch)
tree2ae4fd4efd0045bbab030984c624fa749916f94a /Lib/test
parent06c62d697a87822690342cd0d99d1cdbeca4ce9d (diff)
downloadcpython-810a09ad3710be60cff9e174be85ca65e76cdbd1.zip
cpython-810a09ad3710be60cff9e174be85ca65e76cdbd1.tar.gz
cpython-810a09ad3710be60cff9e174be85ca65e76cdbd1.tar.bz2
[3.13] GH-89727: Fix `os.fwalk()` recursion error on deep trees (GH-119638) (#119764)
GH-89727: Fix `os.fwalk()` recursion error on deep trees (GH-119638) Implement `os.fwalk()` using a list as a stack to avoid emitting recursion errors on deeply nested trees. (cherry picked from commit 3c890b503c740767d0eb9a0e74b47f17a1e69452) Co-authored-by: Barney Gale <barney.gale@gmail.com>
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_os.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
index 941fa2b..7dc5784 100644
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -1687,8 +1687,6 @@ class FwalkTests(WalkTests):
# fwalk() keeps file descriptors open
test_walk_many_open_files = None
- # fwalk() still uses recursion
- test_walk_above_recursion_limit = None
class BytesWalkTests(WalkTests):