code: def test_interval_censored_mixed(self):
      # This is actually a mix of uncensored, left-censored, right-censored
      # and interval-censored data.  Check that when the `interval_censored`
      # class method is used, the data is correctly separated into the
      # appropriate arrays.
      a = [0.5, -np.inf, -13.0, 2.0, 1.0, 10.0, -1.0]
      b = [0.5, 2500.0, np.inf, 3.0, 1.0, 11.0, np.inf]
      data = CensoredData.interval_censored(low=a, high=b)
      assert_array_equal(data._interval, [[2.0, 3.0], [10.0, 11.0]])
      assert_array_equal(data._uncensored, [0.5, 1.0])
      assert_array_equal(data._left, [2500.0])
      assert_array_equal(data._right, [-13.0, -1.0])
  
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 5 for calling the TestCensoredData obj's underlying member method code with example usage: obj.test_interval_censored_mixed() without return types