code: def test_who_with_0dim_array(self):
      # ticket #1243
      import os
      import sys
  
      oldstdout = sys.stdout
      sys.stdout = open(os.devnull, "w")
      try:
          try:
              np.who({"foo": np.array(1)})
          except Exception:
              raise AssertionError("ticket #1243")
      finally:
          sys.stdout.close()
          sys.stdout = oldstdout
  
imports: import os
  import numpy
  from numpy.testing import assert_, assert_equal, assert_array_equal, assert_array_almost_equal, assert_raises, _assert_valid_refcount
label_desc: Use image node_id 21 for calling the TestRegression obj's underlying member method code with example usage: obj.test_who_with_0dim_array() without return types