code: def test_str_rstrip(self):
      self.run_test(
          "def str_rstrip(s): return s.rstrip()",
          "       ThiS iS a TeST        ",
          str_rstrip=[str],
      )
      self.run_test(
          "def str_rstrip_a(s): return s[0].rstrip()",
          "       ThiS iS a TeST        ",
          str_rstrip_a=[str],
      )
  
imports: from pythran.tests import TestEnv
  from pythran.typing import List
  import unittest
label_desc: Use image node_id 25 for calling the TestStr obj's underlying member method code with example usage: obj.test_str_rstrip() without return types