parameters: (self)
docstring: Try to manipulate the stream args channels for proper swig'ing checks.
docstring_summary: Try to manipulate the stream args channels for proper swig'ing checks.
docstring_tokens: Try to manipulate the stream args channels for proper swig ing checks .
function: def test_stream_args_channel_foo(self):
          """
          Try to manipulate the stream args channels for proper swig'ing checks.
          """
          # FYI: stream_args_t.channels.append does not work due to copy operation of STL vectors
          sa = uhd.stream_args_t()
          sa.channels = [1, 0]
          print(sa.channels)
          self.assertEqual(len(sa.channels), 2)
          self.assertEqual(sa.channels[0], 1)
          self.assertEqual(sa.channels[1], 0)
function_tokens: def test_stream_args_channel_foo ( self ) : # FYI: stream_args_t.channels.append does not work due to copy operation of STL vectors sa = uhd . stream_args_t ( ) sa . channels = [ 1 , 0 ] print ( sa . channels ) self . assertEqual ( len ( sa . channels ) , 2 ) self . assertEqual ( sa . channels [ 0 ] , 1 ) self . assertEqual ( sa . channels [ 1 ] , 0 )