class_docstr: Test the is_ and get_ functions
class_docstr_tok: ["Test","the","is_","and","get_","functions"]
code: def test_get_comment_header(self):
      Equal = self.assertEqual
      # Test comment strings
      Equal(ft.get_comment_header(self.test_comment), "#")
      Equal(ft.get_comment_header(self.trailingws_comment), "#")
      Equal(ft.get_comment_header(self.leadingws_comment), "    #")
      # Test non-comment strings
      Equal(ft.get_comment_header(self.leadingws_nocomment), "    ")
      Equal(ft.get_comment_header(self.test_nocomment), "")
  
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 Is_Get_Test obj's underlying member method code with example usage: obj.test_get_comment_header() without return types