code: def test_str_slice_assign2(self):
      self.run_test(
          """
          def sample_datatype(value):
              definitions = [ 
                  ('LEFT-', 1), 
                  ('RIGHT-', 2), 
                  ('', 3)
              ]   
          
              plate_number = None
              for definition in definitions:
                  s, n = definition
                  if value.startswith(s):
                      plate_number = n 
                      value = value[len(s):]
                      break
              if plate_number is None:   # Comment for make it works
                 raise ValueError("Invalid value")
              return None
  
          def str_slice_assign2(s1):
              sample_datatype(s1)
              return s1""",
          "LEFT-B6",
          str_slice_assign2=[str],
      )
  
imports: from pythran.tests import TestEnv
  from pythran.typing import List
  import unittest
label_desc: Use image node_id 53 for calling the TestStr obj's underlying member method code with example usage: obj.test_str_slice_assign2() without return types