Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bug 7755: audiotest.au is arguably copyrighted material, but definitely makes | Barry Warsaw | 2010-05-05 | 1 | -1/+1 |
| | | | | | Debian unhappy. The actual contents of the audio clip are unimportant, so replace it with something that we know is okay. Guido likes woodpeckers. | ||||
* | #7092: Silence more py3k warnings. Patch by Florent Xicluna. | Ezio Melotti | 2010-02-03 | 1 | -3/+5 |
| | |||||
* | Reverting the Revision: 77368. I committed Flox's big patch for tests by | Senthil Kumaran | 2010-01-08 | 1 | -1/+1 |
| | | | | mistake. ( It may come in for sure tough) | ||||
* | Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵ | Senthil Kumaran | 2010-01-08 | 1 | -1/+1 |
| | | | | Patch by flox | ||||
* | convert usage of fail* to assert* | Benjamin Peterson | 2009-06-30 | 1 | -4/+4 |
| | |||||
* | Change more tests to use import_module for the modules that | R. David Murray | 2009-03-30 | 1 | -1/+2 |
| | | | | | should cause tests to be skipped. Also rename import_function to the more descriptive get_attribute and add a docstring. | ||||
* | fix incorrect auto-translation of TestSkipped -> unittest.SkipTest | Benjamin Peterson | 2009-03-26 | 1 | -3/+3 |
| | |||||
* | remove test_support.TestSkipped and just use unittest.SkipTest | Benjamin Peterson | 2009-03-26 | 1 | -3/+3 |
| | |||||
* | Make test_ossaudiodev work. | Antoine Pitrou | 2008-08-17 | 1 | -2/+2 |
| | |||||
* | Deprecate the sunaudio module for removal in Python 3.0. The sunau module ↵ | Brett Cannon | 2008-07-18 | 1 | -9/+10 |
| | | | | can provide similar functionality. | ||||
* | Patch #2167 from calvin: Remove unused imports | Christian Heimes | 2008-02-23 | 1 | -4/+1 |
| | |||||
* | Catch IOError for when the device file doesn't exist or the user doesn't have | Neal Norwitz | 2007-08-26 | 1 | -1/+1 |
| | | | | permission to write to the device. | ||||
* | Catch the correct errors. | Georg Brandl | 2007-08-24 | 1 | -1/+1 |
| | |||||
* | Convert test_linuxaudiodev to unittest. Fix a wrong finally clause in ↵ | Georg Brandl | 2007-08-24 | 1 | -2/+1 |
| | | | | test_ossaudiodev. | ||||
* | Remove output file for test_ossaudiodev, also properly close the dsp object. | Georg Brandl | 2007-08-24 | 1 | -3/+3 |
| | |||||
* | Fix an issue related to the unittest conversion. | Collin Winter | 2007-04-25 | 1 | -0/+6 |
| | |||||
* | Convert test_ossaudiodev to use unittest. | Collin Winter | 2007-04-25 | 1 | -120/+125 |
| | |||||
* | Fix a bug in the messages for an assert failure where not enough arguments ↵ | Brett Cannon | 2006-07-25 | 1 | -2/+2 |
| | | | | | | to a string were being converted in the format. | ||||
* | Don't use standard assert: want tests to fail even when run with -O. | Greg Ward | 2006-07-25 | 1 | -15/+17 |
| | | | | Delete cruft. | ||||
* | Be a lot smarter about whether this test passes: instead of assuming | Greg Ward | 2006-07-23 | 1 | -2/+13 |
| | | | | | | | that a 2.93 sec audio file will always take 3.1 sec (as it did on the hardware I had when I first wrote the test), expect that it will take 2.93 sec +/- 10%, and only fail if it's outside of that range. Compute the expected | ||||
* | If the audio file does not exist, the test should be skipped. Will backport. | Neal Norwitz | 2006-01-05 | 1 | -1/+1 |
| | |||||
* | SF #818006: merge from release24-maint branch: add useful read-only | Greg Ward | 2005-03-07 | 1 | -4/+30 |
| | | | | attributes to oss_audio_device object: 'closed', 'name', and 'mode'. | ||||
* | On those systems lacking the AFMT_S16_NE symbol, the test was failing | Andrew MacIntyre | 2003-07-02 | 1 | -1/+1 |
| | | | | | | | because it was still looking in the ossaudiodev module namespace for this symbol. As the symbol has already been rebound as a global, use that instead. | ||||
* | Factor endian-ness check out of play_sound_file(), and fix | Greg Ward | 2003-06-03 | 1 | -7/+12 |
| | | | | | test_setparameters() to use it -- don't assume AFMT_S16_NE is always defined! | ||||
* | Renamed test_errors() to test_setparameters() and completely rewrote it | Greg Ward | 2003-05-29 | 1 | -30/+54 |
| | | | | | | | to test the new setparameters() interface. Modified play_sound_file() to print the elapsed time taken to play the test sample (to the nearest 0.1 sec). | ||||
* | Order and number of arguments to setparameters() has changed. | Greg Ward | 2003-05-29 | 1 | -24/+23 |
| | | | | Rename 'a' (the audio device) to 'dsp' everywhere. | ||||
* | - The audio driver tests (test_ossaudiodev.py and | Guido van Rossum | 2003-02-14 | 1 | -0/+3 |
| | | | | | | | test_linuxaudiodev.py) are no longer run by default. This is because they don't always work, depending on your hardware and software. To run these tests, you must use an invocation like ./python Lib/test/regrtest.py -u audio test_ossaudiodev | ||||
* | - be explicit: audio data files should be opened in binary mode | Fred Drake | 2003-01-08 | 1 | -2/+2 |
| | | | | | - ossaudiodev.open() raises IOError, not ossaudiodev.error, for cases which get mapped to TestSkipped | ||||
* | Aesthetic tweakery: factor read_sound_file() out of play_sound_file(). | Greg Ward | 2002-12-10 | 1 | -5/+9 |
| | |||||
* | Initial revision is rev 1.8 of test_linuxaudiodev.py, with | Greg Ward | 2002-12-10 | 1 | -0/+89 |
the obvious s/linuxaudiodev/ossaudiodev/ change made. |