code: def test_assert_equal():
      tensor = tl.tensor([5, 5, 5])
  
      assert_equal(tensor, tensor)
      assert_equal(tl.tensor([1, 2]), tl.tensor([1.0, 2.0]))
  
      assert_equal(tl.tensor([1, 1, 1]), tl.tensor(1))
  
      with pytest.raises(AssertionError):
          assert_equal(tensor, tensor + 10)
  
imports: import pytest
  import tensorly
  from ..testing import assert_allclose, assert_array_almost_equal, assert_array_equal, assert_equal
label_desc: Use image node_id 2 for calling a global function with example usage: test_assert_equal() without return types