Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ rmtree
Function
rmtree
Lib/test/support/os_helper.py:495–499 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
493
494
495
def
rmtree(path):
496
try
:
497
_rmtree(path)
498
except
FileNotFoundError:
499
pass
500
501
502
@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
Used in the wild
real call sites across dependent graphs
searching dependent graphs…