mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
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:
parent
cbb82ebd75
commit
83d8998390
4 changed files with 3 additions and 1 deletions
Binary file not shown.
Binary file not shown.
|
|
@ -76,7 +76,7 @@ def play_sound_file(self, data, rate, ssize, nchannels):
|
|||
|
||||
# set parameters based on .au file headers
|
||||
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()
|
||||
dsp.write(data)
|
||||
dsp.close()
|
||||
|
|
|
|||
|
|
@ -348,6 +348,8 @@ C-API
|
|||
Library
|
||||
-------
|
||||
|
||||
- Issue #7755: Use an unencumbered audio file for tests.
|
||||
|
||||
- Issue #8621: uuid.uuid4() returned the same sequence of values in the
|
||||
parent and any children created using ``os.fork`` on MacOS X 10.6.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue