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

Method test_empty_line

Lib/test/test_pyrepl/test_interact.py:185–189  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

183 self.assertFalse(_more_lines(console, code))
184
185 def test_empty_line(self):
186 namespace = {}
187 code = ""
188 console = InteractiveColoredConsole(namespace, filename="<stdin>")
189 self.assertFalse(_more_lines(console, code))
190
191 def test_valid_single_statement(self):
192 namespace = {}

Callers

nothing calls this directly

Calls 3

_more_linesFunction · 0.90
assertFalseMethod · 0.80

Tested by

no test coverage detected