[Python-checkins] r80795 - in python/branches/py3k: Lib/email/test/data/audiotest.au Lib/test/audiotest.au Lib/test/test_ossaudiodev.py Misc/NEWS
barry.warsaw
python-checkins at python.org
Wed May 5 18:18:31 CEST 2010
Author: barry.warsaw
Date: Wed May 5 18:18:31 2010
New Revision: 80795
Log:
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.
Modified:
python/branches/py3k/Lib/email/test/data/audiotest.au
python/branches/py3k/Lib/test/audiotest.au
python/branches/py3k/Lib/test/test_ossaudiodev.py
python/branches/py3k/Misc/NEWS
Modified: python/branches/py3k/Lib/email/test/data/audiotest.au
==============================================================================
Binary files. No diff available.
Modified: python/branches/py3k/Lib/test/audiotest.au
==============================================================================
Binary files. No diff available.
Modified: python/branches/py3k/Lib/test/test_ossaudiodev.py
==============================================================================
--- python/branches/py3k/Lib/test/test_ossaudiodev.py (original)
+++ python/branches/py3k/Lib/test/test_ossaudiodev.py Wed May 5 18:18:31 2010
@@ -76,7 +76,7 @@
# 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()
Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS (original)
+++ python/branches/py3k/Misc/NEWS Wed May 5 18:18:31 2010
@@ -348,6 +348,8 @@
Library
-------
+- Issue #7755: Use an unencumbered audio file for tests.
+
- 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.
More information about the Python-checkins
mailing list