code: def test_restart_line_narrow(self):
      expect, taglen = "= RESTART: Shell", 16
      for width in (taglen - 1, taglen, taglen + 1):
          with self.subTest(width=width):
              self.assertEqual(pyshell.restart_line(width, ""), expect)
      self.assertEqual(
          pyshell.restart_line(taglen + 2, ""), expect + " ="
      )
  
imports: from idlelib import pyshell
  import unittest
  from test.support import requires
  from tkinter import Tk
label_desc: Use image node_id 2 for calling the FunctionTest obj's underlying member method code with example usage: obj.test_restart_line_narrow() without return types