Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 06f018d

Browse files
committed
Merged revisions 80795 via svnmerge from
svn+ssh://[email protected]/python/branches/py3k ........ r80795 | barry.warsaw | 2010-05-05 18:18:31 +0200 (Mi, 05 Mai 2010) | 5 lines 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 8e2e16e commit 06f018d

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
@@ -83,6 +83,8 @@ Library
8383
- Issue #4265: shutil.copyfile() was leaking file descriptors when disk fills.
8484
Patch by Tres Seaver.
8585

86+
- Issue #7755: Use an unencumbered audio file for tests.
87+
8688
- Issue #8621: uuid.uuid4() returned the same sequence of values in the
8789
parent and any children created using ``os.fork`` on MacOS X 10.6.
8890

0 commit comments

Comments
 (0)