code: def assert_eq(agg, b):
      assert agg.equals(b)
  
file_path: datashader/datashader/tests/test_xarray.py
imports: from __future__ import annotations
  import numpy
  from numpy import nan
  import os
  import xarray
  import datashader
  from datashader.tests.test_pandas import assert_eq_ndarray
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: assert_eq(agg, b) without return types