code: def test_safe_print_string():
      """[Utils] safe_print: accepts flush and stream name as string."""
  
      with open(os.devnull, "w") as f, redirect_stdout(f):
          utils.safe_print("test", flush=True, file="stdout")
  
imports: from __future__ import division
  import os
  import numpy
  import sysconfig
  import subprocess
  from mlens import config
  from mlens.utils import utils
  from mlens.utils.exceptions import ParallelProcessingError
  from time import sleep
label_desc: Use image node_id 3 for calling a global function with example usage: test_safe_print_string() without return types