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: import unittest
  from idlelib import FormatParagraph
  from idlelib.EditorWindow import EditorWindow
  from Tkinter import Tk, Text
  from test.test_support import requires
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