class_docstr: Test encoding features
class_docstr_tok: ["Test","encoding","features"]
code: def setUp(self):
      self.samplerate, self.channels, self.blocksize = 44100, 1, 1024
      self.overwrite = False
      self.encode_to_file = True
      self.test_duration = True
      self.test_channels = True
  
      # Source
      self.source_duration = 10.0
  
imports: from __future__ import division
  from math import pi
  import numpy
  from unit_timeside import *
  from timeside.plugins.decoder.utils import get_uri, get_media_uri_info
  from timeside.plugins.decoder.array import ArrayDecoder
  import os
  from tools import tmp_file_sink
label_desc: Use image node_id 2 for calling the TestEncoding obj's underlying member method code with example usage: obj.setUp() without return types