MCPcopy Index your code
hub / github.com/RustPython/RustPython / foobar

Method foobar

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

Source from the content-addressed store, hash-verified

3793 def test_subclass(self):
3794 class MyTreeBuilder(ET.TreeBuilder):
3795 def foobar(self, x):
3796 return x * 2
3797
3798 tb = MyTreeBuilder()
3799 self.assertEqual(tb.foobar(10), 20)

Callers 2

test_subclassMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected