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

Method test_calc_screen_wrap_simple

Lib/test/test_pyrepl/test_reader.py:23–26  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

21@force_not_colorized_test_class
22class TestReader(ScreenEqualMixin, TestCase):
23 def test_calc_screen_wrap_simple(self):
24 events = code_to_events(10 * "a")
25 reader, _ = handle_events_narrow_console(events)
26 self.assert_screen_equal(reader, f"{9*"a"}\\\na")
27
28 def test_calc_screen_wrap_wide_characters(self):
29 events = code_to_events(8 * "a" + "樂")

Callers

nothing calls this directly

Calls 2

code_to_eventsFunction · 0.85
assert_screen_equalMethod · 0.80

Tested by

no test coverage detected