aboutsummaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2010-05-05 16:18:31 +0000
committerBarry Warsaw <barry@python.org>2010-05-05 16:18:31 +0000
commit83d8998390bebc1f1d5aa9f5d8a68f7994bede58 (patch)
treedb0207c3e552ef5949465ec4aaa4eb83dfae868d /Lib
parentcbb82ebd755083f3e0a6c44fe90f623df8afb0d3 (diff)
downloadcpython3-83d8998390bebc1f1d5aa9f5d8a68f7994bede58.tar.gz
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.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/email/test/data/audiotest.aubin23493 -> 28144 bytes
-rw-r--r--Lib/test/audiotest.aubin23493 -> 28144 bytes
-rw-r--r--Lib/test/test_ossaudiodev.py2
3 files changed, 1 insertions, 1 deletions
diff --git a/Lib/email/test/data/audiotest.au b/Lib/email/test/data/audiotest.au
index 1ad28ce1fd..f76b0501b8 100644
--- a/Lib/email/test/data/audiotest.au
+++ b/Lib/email/test/data/audiotest.au
Binary files differ
diff --git a/Lib/test/audiotest.au b/Lib/test/audiotest.au
index 1ad28ce1fd..f76b0501b8 100644
--- a/Lib/test/audiotest.au
+++ b/Lib/test/audiotest.au
Binary files differ
diff --git a/Lib/test/test_ossaudiodev.py b/Lib/test/test_ossaudiodev.py
index 055ad6c167..5dea640d89 100644
--- a/Lib/test/test_ossaudiodev.py
+++ b/Lib/test/test_ossaudiodev.py
@@ -76,7 +76,7 @@ class OSSAudioDevTests(unittest.TestCase):
# 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()