code: def test_view_text(self):
      # If modal True, get tkinter error 'can't invoke "event" command'.
      view = tv.view_text(self.root, "Title", "test text", modal=False)
      self.assertIsInstance(view, tv.TextViewer)
      view.Ok()
  
imports: import unittest
  import os
  from test.test_support import requires
  from Tkinter import Tk
  from idlelib import textView
  from idlelib.idle_test.mock_idle import Func
  from idlelib.idle_test.mock_tk import Mbox
label_desc: Use image node_id 3 for calling the ViewFunctionTest obj's underlying member method code with example usage: obj.test_view_text() without return types