Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ unlink
Function
unlink
Lib/test/support/os_helper.py:371–375 ·
view source on GitHub ↗
(filename)
Source
from the content-addressed store, hash-verified
369
370
371
def
unlink(filename):
372
try
:
373
_unlink(filename)
374
except
(FileNotFoundError, NotADirectoryError):
375
pass
376
377
378
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
tearDown
Method · 0.90
tearDown
Method · 0.90
tearDown
Method · 0.90
setUp
Method · 0.90
tearDown
Method · 0.90
test_no_caret_with_no_debug_ranges_flag
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
tearDown
Method · 0.72
tearDown
Method · 0.72
tearDown
Method · 0.72
setUp
Method · 0.72
tearDown
Method · 0.72
test_no_caret_with_no_debug_ranges_flag
Method · 0.72
Used in the wild
real call sites across dependent graphs
searching dependent graphs…