code: def assert_is(expr1, expr2, msg=None):
      """Backport"""
      if expr1 is not expr2:
          std_msg = "%s is not %s" % (
              _safe_rep(expr1),
              _safe_rep(expr2),
          )
          raise AssertionError(_format_msg(msg, std_msg))
  
imports: from __future__ import print_function
  import numpy
  import sys
  import os
  import inspect
  import gc
  import pytest
  import functools
  from packaging.version import Version
  from ..util.check_environment import has_backend
label_desc: Use image node_id 12 for calling a global function with example usage: assert_is(expr1, expr2, msg) without return types