mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
bpo-38470: Fix test_compileall.test_compile_dir_maxlevels() (GH-16789)
Fix test_compile_dir_maxlevels() on Windows without long path support: only create 3 subdirectories instead of between 20 and 100 subdirectories. Fix also compile_dir() to use the current sys.getrecursionlimit() value as the default maxlevels value, rather than using sys.getrecursionlimit() value read at startup.
This commit is contained in:
parent
0b60f64e43
commit
eb1dda2b56
3 changed files with 23 additions and 64 deletions
|
|
@ -0,0 +1,3 @@
|
|||
Fix ``test_compileall.test_compile_dir_maxlevels()`` on Windows without long
|
||||
path support: only create 3 subdirectories instead of between 20 and 100
|
||||
subdirectories.
|
||||
Loading…
Add table
Add a link
Reference in a new issue