Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ open
Method
open
Lib/test/test_bz2.py:1092–1093 ·
view source on GitHub ↗
(self, *args, **kwargs)
Source
from the content-addressed store, hash-verified
1090
"Test the open function."
1091
1092
def
open(self, *args, **kwargs):
1093
return
bz2.open(*args, **kwargs)
1094
1095
def
test_binary_modes(self):
1096
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_setparams_6_tuple_defaults_to_pcm
Method · 0.45
test_setparams_7_tuple_uses_format
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected