Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ rmtree
Function
rmtree
Lib/test/support/os_helper.py:494–498 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
492
493
494
def
rmtree(path):
495
try
:
496
_rmtree(path)
497
except
FileNotFoundError:
498
pass
499
500
501
@contextlib.contextmanager
Callers
15
tearDown
Method · 0.90
test_defaults_with_str_path
Method · 0.90
test_defaults_with_pathlike
Method · 0.90
test_config_file_command_key
Method · 0.90
test_prompt
Method · 0.90
test_prefixes
Method · 0.90
test_sysconfig
Method · 0.90
test_sysconfig_symlinks
Method · 0.90
clear_directory
Method · 0.90
test_executable
Method · 0.90
test_executable_symlinks
Method · 0.90
test_special_chars_bash
Method · 0.90
Calls
1
_rmtree
Function · 0.85
Tested by
15
tearDown
Method · 0.72
test_defaults_with_str_path
Method · 0.72
test_defaults_with_pathlike
Method · 0.72
test_config_file_command_key
Method · 0.72
test_prompt
Method · 0.72
test_prefixes
Method · 0.72
test_sysconfig
Method · 0.72
test_sysconfig_symlinks
Method · 0.72
clear_directory
Method · 0.72
test_executable
Method · 0.72
test_executable_symlinks
Method · 0.72
test_special_chars_bash
Method · 0.72