code: def from_str(cls, s):
      if s.startswith(SubtestInfo.skipped_prefix):
          s = s[len(SubtestInfo.skipped_prefix) :]
          skipped = True
  
      else:
          skipped = False
  
      return SubtestInfo(
          *s.rsplit(TEST_SUBTEST_SEPARATOR, 1), skipped=skipped
      )
  
imports: import collections
  import functools
  import math
  import os
  import re
  import sys
  import yatest_lib.tools
label_desc: Use image node_id 1 for calling the SubtestInfo obj's underlying member method code with example usage: obj.from_str(cls, s) and returns: SubtestInfo