code: def should_fail(f, msg):
      ex = None
      try:
          f()
      except Exception as e:
          ex = e
  
      if ex is None:
          raise ValueError("Expected failure didn't happen")
  
      return ex
  
file_path: lets-plot/python-package/test/plot/test_use_crs.py
imports: import numpy
  from geopandas import GeoDataFrame
  from shapely.geometry import Point
  from lets_plot.plot import ggplot, geom_point, geom_map, geom_imshow, geom_livemap
label_desc: Use image node_id 10 for calling a global function with example usage: should_fail(f, msg) and returns: ex