code: def test_nonbytes(self):
      shuffler = shuffle.Shuffler(self.get_temp_dir(), "split1")
      with self.assertRaisesWithPredicateMatch(
          AssertionError, "Only bytes"
      ):
          shuffler.add(1, "a")
      with self.assertRaisesWithPredicateMatch(
          AssertionError, "Only bytes"
      ):
          shuffler.add(1, 123)
  
imports: import collections
  import contextlib
  import logging
  import resource
  import tempfile
  from absl.testing.absltest import mock
  import pytest
  from tensorflow_datasets import testing
  from tensorflow_datasets.core import shuffle
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
label_desc: Use image node_id 5 for calling the ShuffleTest obj's underlying member method code with example usage: obj.test_nonbytes() without return types