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

Method test_comment_after_machine_line

Lib/test/test_netrc.py:217–227  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

215 """)
216
217 def test_comment_after_machine_line(self):
218 self._test_comment("""\
219 machine foo.domain.com login bar password pass
220 # comment
221 machine bar.domain.com login foo password pass
222 """)
223 self._test_comment("""\
224 machine foo.domain.com login bar password pass
225 machine bar.domain.com login foo password pass
226 # comment
227 """)
228
229 def test_comment_after_machine_line_no_space(self):
230 self._test_comment("""\

Callers

nothing calls this directly

Calls 1

_test_commentMethod · 0.95

Tested by

no test coverage detected