示例#1
0
 def test_same_samplerates(self):
     expected = None
     actual = combine._validate_sample_rates([INPUT_WAV, INPUT_WAV], 'mix')
     self.assertEqual(expected, actual)
示例#2
0
 def test_same_samplerates(self):
     expected = None
     actual = combine._validate_sample_rates([INPUT_WAV, INPUT_WAV], 'mix')
     self.assertEqual(expected, actual)
示例#3
0
 def test_different_samplerates(self):
     with self.assertRaises(IOError):
         combine._validate_sample_rates([INPUT_WAV, INPUT_WAV2], 'mix')
示例#4
0
 def test_different_samplerates(self):
     with self.assertRaises(IOError):
         combine._validate_sample_rates([INPUT_WAV, INPUT_WAV2], 'mix')