MCPcopy 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_modesMethod · 0.95
test_text_modesMethod · 0.95
test_x_modeMethod · 0.95
test_fileobjMethod · 0.95
test_encodingMethod · 0.95
test_newlineMethod · 0.95
codecs_open_no_warnFunction · 0.45
test_openMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected