MCPcopy Index your code
hub / github.com/python/cpython / foobar

Method foobar

Lib/test/test_xml_etree.py:3835–3836  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

3833 def test_subclass(self):
3834 class MyTreeBuilder(ET.TreeBuilder):
3835 def foobar(self, x):
3836 return x * 2
3837
3838 tb = MyTreeBuilder()
3839 self.assertEqual(tb.foobar(10), 20)

Callers 2

test_subclassMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected