code: def test_horiz_scrollbar(self):
      # The horizontal scrollbar should be shown/hidden according to
      # the 'wrap' setting: It should only be shown when 'wrap' is
      # set to NONE.
  
      # wrap = NONE -> with horizontal scrolling
      frame = self.make_frame(wrap=NONE)
      self.assertEqual(frame.text.cget("wrap"), NONE)
      self.assertIsNotNone(frame.xscroll)
  
      # wrap != NONE -> no horizontal scrolling
      for wrap in [CHAR, WORD]:
          with self.subTest(wrap=wrap):
              frame = self.make_frame(wrap=wrap)
              self.assertEqual(frame.text.cget("wrap"), wrap)
              self.assertIsNone(frame.xscroll)
  
imports: from idlelib import textview
  from test.support import requires
  import os
  import unittest
  from tkinter import Tk, TclError, CHAR, NONE, WORD
  from tkinter.ttk import Button
  from idlelib.idle_test.mock_idle import Func
  from idlelib.idle_test.mock_tk import Mbox_func
label_desc: Use image node_id 5 for calling the ScrollableTextFrameTest obj's underlying member method code with example usage: obj.test_horiz_scrollbar() without return types