code: def test_repr_tensor(setup):
      a = mt.ones((10, 10), chunk_size=3)
      assert a.key in repr(a)
  
      assert repr(np.ones((10, 10))) not in repr(a)
      assert str(np.ones((10, 10))) not in str(a)
  
      with option_context({"eager_mode": True}):
          a = mt.ones((10, 10))
          assert repr(np.ones((10, 10))) == repr(a)
          assert str(np.ones((10, 10))) == str(a)
  
file_path: mars/mars/tests/test_eager_mode.py
imports: import numpy
  import pandas
  import pytest
  from ..None import tensor
  from ..None import dataframe
  from ..config import option_context
  from ..dataframe.datasource.dataframe import from_pandas
label_desc: Use image node_id 5 for calling a global function with example usage: test_repr_tensor(setup) without return types