Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ open
Method
open
Lib/test/test_zipfile/test_core.py:1827–1828 ·
view source on GitHub ↗
(self, path)
Source
from the content-addressed store, hash-verified
1825
zipfp.writestr(
'test/file'
, b
'newcontent'
)
1826
1827
def
open(self, path):
1828
return
zipfile.ZipFile(path,
'r'
)
1829
1830
def
extractall(self, ar):
1831
ar.extractall(self.testdir)
Callers
15
test_open_invalid_mode
Method · 0.45
execute
Method · 0.45
execute
Method · 0.45
test_open_binary
Method · 0.45
test_open_text_default_encoding
Method · 0.45
test_open_text_given_encoding
Method · 0.45
test_open_text_with_errors
Method · 0.45
test_open_binary_FileNotFoundError
Method · 0.45
test_open_text_FileNotFoundError
Method · 0.45
test_open_common
Method · 0.45
test_open_unbuffered
Method · 0.45
test_touch_nochange
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected