Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ open
Method
open
Lib/test/test_bz2.py:1083–1084 ·
view source on GitHub ↗
(self, *args, **kwargs)
Source
from the content-addressed store, hash-verified
1081
"Test the open function."
1082
1083
def
open(self, *args, **kwargs):
1084
return
bz2.open(*args, **kwargs)
1085
1086
def
test_binary_modes(self):
1087
for
mode in (
"wb"
,
"xb"
):
Callers
15
test_binary_modes
Method · 0.95
test_implicit_binary_modes
Method · 0.95
test_text_modes
Method · 0.95
test_x_mode
Method · 0.95
test_fileobj
Method · 0.95
test_encoding
Method · 0.95
test_encoding_error_handler
Method · 0.95
test_newline
Method · 0.95
codecs_open_no_warn
Function · 0.45
test_open
Method · 0.45
test_read_deprecations
Method · 0.45
test_write_deprecations
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected