code: def test_subs_no_key_data_eq():
      # Numpy throws a deprecation warning on bool(array == scalar), which
      # pollutes the terminal. This test checks that `subs` never tries to
      # compare keys (scalars) with values (which could be arrays)`subs` never
      # tries to compare keys (scalars) with values (which could be arrays).
      a = MutateOnEq()
      subs(a, "x", 1)
      assert a.hit_eq == 0
      subs((add, a, "x"), "x", 1)
      assert a.hit_eq == 0
  
imports: from __future__ import annotations
  import pickle
  from collections import namedtuple
  import pytest
  from dask.core import flatten, get, get_dependencies, get_deps, getcycle, has_tasks, ishashable, iskey, istask, literal, preorder_traversal, quote, subs, validate_key
  from dask.utils_test import GetFunctionTestMixin, add, inc
label_desc: Use image node_id 20 for calling a global function with example usage: test_subs_no_key_data_eq() without return types