class_docstr: Test the formatting of text inside a Text widget.
  
  This is done with FormatParagraph.format.paragraph_event,
  which calls functions in the module as appropriate.
class_docstr_tok: ["Test","the","formatting","of","text","inside","a","Text","widget",".","This","is","done","with","FormatParagraph.format.paragraph_event",",","which","calls","functions","in","the","module","as","appropriate","."]
code: def test_short_line(self):
      self.text.insert("1.0", "Short line\n")
      self.formatter("Dummy")
      self.assertEqual(self.text.get("1.0", "insert"), "Short line\n")
      self.text.delete("1.0", "end")
  
imports: from idlelib import format
  import unittest
  from unittest import mock
  from test.support import requires
  from tkinter import Tk, Text
  from idlelib.editor import EditorWindow
  from idlelib.idle_test.mock_idle import Editor
label_desc: Use image node_id 3 for calling the FormatEventTest obj's underlying member method code with example usage: obj.test_short_line() without return types