Bug 7755: audiotest.au is arguably copyrighted material, but definitely makes

Debian unhappy.  The actual contents of the audio clip are unimportant, so
replace it with something that we know is okay.  Guido likes woodpeckers.
This commit is contained in:
Barry Warsaw 2010-05-05 16:15:09 +00:00
parent a4c2a5c9a0
commit 43ad706ef4
3 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -76,7 +76,7 @@ class OSSAudioDevTests(unittest.TestCase):
# set parameters based on .au file headers # set parameters based on .au file headers
dsp.setparameters(AFMT_S16_NE, nchannels, rate) dsp.setparameters(AFMT_S16_NE, nchannels, rate)
self.assertTrue(abs(expected_time - 2.94) < 1e-2, expected_time) self.assertTrue(abs(expected_time - 3.51) < 1e-2, expected_time)
t1 = time.time() t1 = time.time()
dsp.write(data) dsp.write(data)
dsp.close() dsp.close()