Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ close
Method
close
tests/files/tests.py:336–338 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
334
return
getattr(self.f, name)
335
336
def
close(self):
337
self._closed.append(True)
338
self.f.close()
339
340
def
catching_open(*args):
341
return
FileWrapper(open(*args))
Callers
15
test_namedtemporaryfile_closes
Method · 0.45
test_file_move_overwrite
Method · 0.45
test_file_move_permissionerror
Method · 0.45
test_file_access_options
Method · 0.45
test_file_storage_preserves_filename_case
Method · 0.45
test_files
Method · 0.45
test_filefield_read
Method · 0.45
test_filefield_write
Method · 0.45
test_filefield_reopen
Method · 0.45
test_extended_length_storage
Method · 0.45
test_filefield_default
Method · 0.45
test_filefield_db_default
Method · 0.45
Calls
1
append
Method · 0.45
Tested by
no test coverage detected