Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ read
Method
read
Lib/test/test_xml_etree.py:2327–2328 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
2325
2326
class
ExceptionFile:
2327
def
read(self, x):
2328
raise
OSError
2329
2330
self.assertRaises(OSError, ET.parse, ExceptionFile())
2331
Callers
11
test_parsefile
Method · 0.45
test_custom_builder
Method · 0.45
test_expat224_utf8_bug_file
Method · 0.45
test_write_to_filename
Method · 0.45
test_write_to_filename_with_encoding
Method · 0.45
test_write_to_filename_as_unicode
Method · 0.45
test_write_to_text_file
Method · 0.45
test_write_to_binary_file
Method · 0.45
test_write_to_binary_file_with_encoding
Method · 0.45
test_write_to_binary_file_with_bom
Method · 0.45
test_xml_c14n2
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected