code: def test_rstrip_multiple(self):
      editor = Editor()
      #  Uncomment following to verify that test passes with real widgets.
      ##        from idlelib.EditorWindow import EditorWindow as Editor
      ##        from tkinter import Tk
      ##        editor = Editor(root=Tk())
      text = editor.text
      do_rstrip = rs.RstripExtension(editor).do_rstrip
  
      original = (
          "Line with an ending tab    \n"
          "Line ending in 5 spaces     \n"
          "Linewithnospaces\n"
          "    indented line\n"
          "    indented line with trailing space \n"
          "    "
      )
      stripped = (
          "Line with an ending tab\n"
          "Line ending in 5 spaces\n"
          "Linewithnospaces\n"
          "    indented line\n"
          "    indented line with trailing space\n"
      )
  
      text.insert("1.0", original)
      do_rstrip()
      self.assertEqual(text.get("1.0", "insert"), stripped)
  
imports: import unittest
  import idlelib.RstripExtension
  from idlelib.idle_test.mock_idle import Editor
label_desc: Use image node_id 2 for calling the rstripTest obj's underlying member method code with example usage: obj.test_rstrip_multiple() without return types