class_docstr: Tests for get_single_slice_specs.
class_docstr_tok: ["Tests","for","get_single_slice_specs","."]
code: def test_slicing_by_custom_indices_wrong_indices(
      self, all_custom_train_indices, all_custom_test_indices
  ):
      self.assertRaises(
          ValueError,
          SlicingSpec,
          all_custom_train_indices=all_custom_train_indices,
          all_custom_test_indices=all_custom_test_indices,
      )
  
imports: import logging
  from absl.testing import absltest
  from absl.testing import parameterized
  from absl.testing.absltest import mock
  import numpy
  from tensorflow_privacy.privacy.privacy_tests.membership_inference_attack.data_structures import AttackInputData
  from tensorflow_privacy.privacy.privacy_tests.membership_inference_attack.data_structures import SingleSliceSpec
  from tensorflow_privacy.privacy.privacy_tests.membership_inference_attack.data_structures import SlicingFeature
  from tensorflow_privacy.privacy.privacy_tests.membership_inference_attack.data_structures import SlicingSpec
  from tensorflow_privacy.privacy.privacy_tests.membership_inference_attack.dataset_slicing import get_single_slice_specs
  from tensorflow_privacy.privacy.privacy_tests.membership_inference_attack.dataset_slicing import get_slice
label_desc: Use image node_id 10 for calling the SingleSliceSpecsTest obj's underlying member method code with example usage: obj.test_slicing_by_custom_indices_wrong_indices(all_custom_train_indices, all_custom_test_indices) without return types