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

Method test_short_line

Lib/idlelib/idle_test/test_format.py:288–292  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

286 del cls.root
287
288 def test_short_line(self):
289 self.text.insert('1.0', "Short line\n")
290 self.formatter("Dummy")
291 self.assertEqual(self.text.get('1.0', 'insert'), "Short line\n" )
292 self.text.delete('1.0', 'end')
293
294 def test_long_line(self):
295 text = self.text

Callers

nothing calls this directly

Calls 4

insertMethod · 0.45
assertEqualMethod · 0.45
getMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected