Browse Source
bpo-38470: Fix test_compileall.test_compile_dir_maxlevels() (GH-16789)
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.pull/16800/head
committed by
Petr Viktorin
3 changed files with 23 additions and 64 deletions
-
10Lib/compileall.py
-
74Lib/test/test_compileall.py
-
3Misc/NEWS.d/next/Tests/2019-10-14-22-46-35.bpo-38470.NHtzpy.rst
@ -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. |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue