Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ unlink
Function
unlink
Lib/test/support/os_helper.py:370–374 ·
view source on GitHub ↗
(filename)
Source
from the content-addressed store, hash-verified
368
369
370
def
unlink(filename):
371
try
:
372
_unlink(filename)
373
except
(FileNotFoundError, NotADirectoryError):
374
pass
375
376
377
if
sys.platform.startswith(
"win"
):
Callers
15
tearDown
Method · 0.90
test_binary_modes
Method · 0.90
test_implicit_binary_modes
Method · 0.90
test_text_modes
Method · 0.90
test_x_mode
Method · 0.90
__exit__
Method · 0.90
setUp
Method · 0.90
tearDown
Method · 0.90
test_no_caret_with_no_debug_ranges_flag
Method · 0.90
test_no_caret_with_no_debug_ranges_flag_python_traceback
Method · 0.90
test_recursion_error_during_traceback
Method · 0.90
do_test
Method · 0.90
Calls
1
_unlink
Function · 0.85
Tested by
15
tearDown
Method · 0.72
test_binary_modes
Method · 0.72
test_implicit_binary_modes
Method · 0.72
test_text_modes
Method · 0.72
test_x_mode
Method · 0.72
__exit__
Method · 0.72
setUp
Method · 0.72
tearDown
Method · 0.72
test_no_caret_with_no_debug_ranges_flag
Method · 0.72
test_no_caret_with_no_debug_ranges_flag_python_traceback
Method · 0.72
test_recursion_error_during_traceback
Method · 0.72
do_test
Method · 0.72