docstr: Test that slicing loadable terms raises the proper error.
docstr_tok: ["Test","that","slicing","loadable","terms","raises","the","proper","error","."]
code: def test_loadable_term_slices(self):
      """
      Test that slicing loadable terms raises the proper error.
      """
      my_asset = self.asset_finder.retrieve_asset(self.sids[0])
  
      with self.assertRaises(NonSliceableTerm):
          USEquityPricing.close[my_asset]
  
imports: from numpy import where
  from pandas import Int64Index, Timestamp
  from pandas.util.testing import assert_frame_equal
  from zipline.assets import Asset, ExchangeInfo
  from zipline.errors import NonExistentAssetInTimeFrame, NonSliceableTerm, NonWindowSafeInput, UnsupportedPipelineOutput
  from zipline.pipeline import CustomFactor, Factor, Filter, Classifier, Pipeline
  from zipline.pipeline.data import USEquityPricing
  from zipline.pipeline.data.testing import TestingDataSet
  from zipline.pipeline.domain import US_EQUITIES
  from zipline.pipeline.factors import Returns, RollingLinearRegressionOfReturns, RollingPearsonOfReturns, RollingSpearmanOfReturns, SimpleMovingAverage
  from zipline.testing import AssetID, AssetIDPlusDay, check_arrays, OpenPrice, parameter_space
  from zipline.testing.fixtures import WithSeededRandomPipelineEngine, ZiplineTestCase
  from zipline.utils.numpy_utils import datetime64ns_dtype
label_desc: Use image node_id 5 for calling the SliceTestCase obj's underlying member method code with example usage: obj.test_loadable_term_slices() without return types