code: def test_start_stop_array_scalar(self):
      lim1 = array([120, 100], dtype="int8")
      lim2 = array([-120, -100], dtype="int8")
      lim3 = array([1200, 1000], dtype="uint16")
      t1 = geomspace(lim1[0], lim1[1], 5)
      t2 = geomspace(lim2[0], lim2[1], 5)
      t3 = geomspace(lim3[0], lim3[1], 5)
      t4 = geomspace(120.0, 100.0, 5)
      t5 = geomspace(-120.0, -100.0, 5)
      t6 = geomspace(1200.0, 1000.0, 5)
  
      # t3 uses float32, t6 uses float64
      assert_allclose(t1, t4, rtol=1e-2)
      assert_allclose(t2, t5, rtol=1e-2)
      assert_allclose(t3, t6, rtol=1e-5)
  
imports: import pytest
  from numpy import logspace, linspace, geomspace, dtype, array, sctypes, arange, isnan, ndarray, sqrt, nextafter, stack, errstate
  from numpy.testing import assert_, assert_equal, assert_raises, assert_array_equal, assert_allclose
label_desc: Use image node_id 6 for calling the TestGeomspace obj's underlying member method code with example usage: obj.test_start_stop_array_scalar() without return types