Kaydet (Commit) 83d89983 authored tarafından Barry Warsaw's avatar Barry Warsaw

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.
üst cbb82ebd
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
...@@ -76,7 +76,7 @@ class OSSAudioDevTests(unittest.TestCase): ...@@ -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()
......
...@@ -348,6 +348,8 @@ C-API ...@@ -348,6 +348,8 @@ C-API
Library Library
------- -------
- Issue #7755: Use an unencumbered audio file for tests.
- Issue #8621: uuid.uuid4() returned the same sequence of values in the - 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. parent and any children created using ``os.fork`` on MacOS X 10.6.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment