Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ BadElementPath
Class
BadElementPath
Lib/test/test_xml_etree.py:3220–3224 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3218
3219
3220
class
BadElementPath(str):
3221
def
__eq__(self, o):
3222
raise
1/0
3223
3224
__hash__ = str.__hash__
3225
3226
3227
class
BadElementPathTest(ElementTestCase, unittest.TestCase):
Callers
3
test_find_with_error
Method · 0.85
test_findtext_with_error
Method · 0.85
test_findall_with_error
Method · 0.85
Calls
no outgoing calls
Tested by
3
test_find_with_error
Method · 0.68
test_findtext_with_error
Method · 0.68
test_findall_with_error
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…