code: def test_basic(self):
      uncensored = [1]
      left = [0]
      right = [2, 5]
      interval = [[2, 3]]
      data = CensoredData(
          uncensored, left=left, right=right, interval=interval
      )
      assert_equal(data._uncensored, uncensored)
      assert_equal(data._left, left)
      assert_equal(data._right, right)
      assert_equal(data._interval, interval)
  
      udata = data._uncensor()
      assert_equal(
          udata,
          np.concatenate(
              (uncensored, left, right, np.mean(interval, axis=1))
          ),
      )
  
file_path: scipy/scipy/stats/tests/test_censored_data.py
imports: import pytest
  import numpy
  from numpy.testing import assert_equal, assert_array_equal
  from scipy.stats import CensoredData
label_desc: Use image node_id 1 for calling the TestCensoredData obj's underlying member method code with example usage: obj.test_basic() without return types