]> granicus.if.org Git - python/commitdiff
Merged revisions 80793 via svnmerge from
authorMatthias Klose <doko@ubuntu.com>
Fri, 21 May 2010 13:08:20 +0000 (13:08 +0000)
committerMatthias Klose <doko@ubuntu.com>
Fri, 21 May 2010 13:08:20 +0000 (13:08 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80793 | barry.warsaw | 2010-05-05 18:15:09 +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.
........

Lib/email/test/data/audiotest.au
Lib/test/audiotest.au
Lib/test/test_ossaudiodev.py

index 1ad28ce1fdd781e4370fdf68577e8a35b4ed8a8e..f76b0501b8c61b4fabbb3715b69a9434a42469cb 100644 (file)
Binary files a/Lib/email/test/data/audiotest.au and b/Lib/email/test/data/audiotest.au differ
index 1ad28ce1fdd781e4370fdf68577e8a35b4ed8a8e..f76b0501b8c61b4fabbb3715b69a9434a42469cb 100644 (file)
Binary files a/Lib/test/audiotest.au and b/Lib/test/audiotest.au differ
index 2a1eba7e53afd79df4041b16652ba7193edb1082..8c45bb58ee6778ad25e4ece2f8cefc19c22d0206 100644 (file)
@@ -74,7 +74,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()