code: def parse_backends_to_test() -> List[str]:
      if FLAG_NAME not in os.environ:
          raise RuntimeError(
              f"Testing frameworks were not specified, flag {FLAG_NAME} not set"
          )
      parsed_backends = os.environ[FLAG_NAME].split(",")
      _known_backends = find_names_of_all_frameworks()
      for backend_name in parsed_backends:
          if backend_name not in _known_backends:
              raise RuntimeError(f"Unknown framework: {backend_name}")
  
      return parsed_backends
  
file_path: einops/tests/__init__.py
imports: import logging
  import os
  from functools import lru_cache
  from typing import List, Tuple
  from einops import _backends
  import warnings
label_desc: Use image node_id 2 for calling a global function with example usage: parse_backends_to_test() and returns: parsed_backends