code: def test_read_from_mono(self):
      out = get_tmp_sink_path()
      samplerate = 44100
      hop_size = 256
      blocks = 10
      channels = 1
      write_samples = np.ones(
          [channels, hop_size], dtype=aubio.float_type
      )
      write_samples *= 0.5
      self.check_write_and_read(
          samplerate, channels, hop_size, blocks, write_samples
      )
  
file_path: aubio/python/tests/test_source_channels.py
imports: import os.path
  import unittest
  import aubio
  import numpy
  from numpy.testing import assert_equal
  from utils import get_tmp_sink_path
label_desc: Use image node_id 1 for calling the aubio_source_test_case obj's underlying member method code with example usage: obj.test_read_from_mono() without return types