def test_same_numchannels(self): expected = None actual = combine._validate_num_channels([INPUT_WAV, INPUT_WAV], 'mix') self.assertEqual(expected, actual)
def test_different_numchannels(self): with self.assertRaises(IOError): combine._validate_num_channels([INPUT_WAV, INPUT_WAV3], 'mix')