Skip to content

Commit 83d8998

Browse files
committed
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.
1 parent cbb82eb commit 83d8998

4 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎Lib/email/test/data/audiotest.au‎

4.54 KB
Binary file not shown.

‎Lib/test/audiotest.au‎

4.54 KB
Binary file not shown.

‎Lib/test/test_ossaudiodev.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def play_sound_file(self, data, rate, ssize, nchannels):
7676

7777
# set parameters based on .au file headers
7878
dsp.setparameters(AFMT_S16_NE, nchannels, rate)
79-
self.assertTrue(abs(expected_time - 2.94) < 1e-2, expected_time)
79+
self.assertTrue(abs(expected_time - 3.51) < 1e-2, expected_time)
8080
t1 = time.time()
8181
dsp.write(data)
8282
dsp.close()

‎Misc/NEWS‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,8 @@ C-API
348348
Library
349349
-------
350350

351+
- Issue #7755: Use an unencumbered audio file for tests.
352+
351353
- Issue #8621: uuid.uuid4() returned the same sequence of values in the
352354
parent and any children created using ``os.fork`` on MacOS X 10.6.
353355

0 commit comments

Comments
 (0)