MCPcopy Create free account
hub / github.com/bpython/bpython / test_no_trailing_newline

Method test_no_trailing_newline

bpython/test/test_curtsies_repl.py:283–285  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

281 self.assertEqual(self.repl.current_stdouterr_line, "")
282
283 def test_no_trailing_newline(self):
284 self.repl.send_to_stdouterr("foo")
285 self.assertEqual(self.repl.current_stdouterr_line, "foo")
286
287 def test_print_without_newline_then_print_with_leading_newline(self):
288 self.repl.send_to_stdouterr("foo")

Callers

nothing calls this directly

Calls 1

send_to_stdouterrMethod · 0.80

Tested by

no test coverage detected