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

Method test_ignore_line

Lib/test/test_clinic.py:1041–1049  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1039 self.assertEqual("os", module.name)
1040
1041 def test_ignore_line(self):
1042 block = self.parse(dedent("""
1043 #
1044 module os
1045 os.access
1046 """))
1047 module, function = block.signatures
1048 self.assertEqual("access", function.name)
1049 self.assertEqual("os", module.name)
1050
1051 def test_param(self):
1052 function = self.parse_function("""

Callers

nothing calls this directly

Calls 3

parseMethod · 0.95
dedentFunction · 0.90
assertEqualMethod · 0.45

Tested by

no test coverage detected