summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_aifc.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-40275: Use new test.support helper submodules in tests (GH-21219)Hai Shi2020-06-301-1/+3
|
* bpo-37320: Remove openfp() of aifc, sunau and wave (GH-14169)Victor Stinner2019-06-171-6/+7
| | | | | aifc.openfp() alias to aifc.open(), sunau.openfp() alias to sunau.open(), and wave.openfp() alias to wave.open() have been removed. They were deprecated since Python 3.7.
* bpo-35202: Remove unused imports in tests. (GH-10561)Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)2018-11-161-2/+0
|
* bpo-32056: Improve exceptions in aifc, wave and sunau. (GH-5951)Serhiy Storchaka2018-03-181-5/+30
|
* bpo-31848: Fix broken error handling in Aifc_read.initfp() when the SSND ↵Zackery Spytz2018-02-201-0/+8
| | | | | | | chunk is not found (#5240) Initialize self._ssnd_chunk so that aifc.Error is raised as intended, not AttributeError.
* bpo-31985: Deprecate openfp in aifc, sunau, and wave (#4344)Brian Curtin2017-11-101-1/+4
| | | | | | | | | | The openfp functions of aifp, sunau, and wave had pointed to the open function of each module since 1993 as a matter of backwards compatibility. In the case of aifc.openfp, it was both undocumented and untested. This change begins the formal deprecation of those openfp functions, with their removal coming in 3.9. This additionally adds a TODO in test_pyclbr around using aifc.openfp, though it shouldn't be changed until removal in 3.9.
* bpo-29110: add test for Aifc_write. (GH-293)INADA Naoki2017-02-261-1/+9
| | | follow up of GH-162
* bpo-29110: Fix file object leak in `aifc.open` when given invalid AIFF file. ↵Anthony Zhang2017-02-221-1/+9
| | | | (GH-162)
* Issue #23277: Remove unused sys and os importsBerker Peksag2016-04-241-1/+0
| | | | Patch by Jon Dufresne.
* Issue #19623: Fixed writing to unseekable files in the aifc module.Serhiy Storchaka2013-12-141-3/+0
|\
| * Issue #19623: Fixed writing to unseekable files in the aifc module.Serhiy Storchaka2013-12-141-29/+12
| |
* | Issue #19641: Added the audioop.byteswap() function to convert big-endianSerhiy Storchaka2013-11-231-2/+3
| | | | | | | | samples to little-endian and vice versa.
* | Issue #5202: Added support for unseekable files in the wave module.Serhiy Storchaka2013-11-161-29/+15
| |
* | Issue #18919: Check warnings messages in the aifc module tests.Serhiy Storchaka2013-10-141-3/+7
|\ \ | |/
| * Issue #18919: Check warnings messages in the aifc module tests.Serhiy Storchaka2013-10-141-3/+7
| |
* | Issue #18919: Unified and extended tests for audio modules: aifc, sunau andSerhiy Storchaka2013-10-131-145/+157
|\ \ | |/ | | | | wave.
| * Issue #18919: Unified and extended tests for audio modules: aifc, sunau andSerhiy Storchaka2013-10-131-116/+157
| | | | | | | | wave.
* | #17818: aifc.getparams now returns a namedtuple.R David Murray2013-07-251-0/+32
| | | | | | | | Patch by Claudiu Popa.
* | #17312: unlink a file that test_aifc was leaving around.Ezio Melotti2013-03-011-2/+4
| |
* | Issue #16486: Make aifc files work with 'with' as context managers.Serhiy Storchaka2012-12-291-0/+12
|/
* Issue #16485: Fix file descriptor not being closed if file header patching ↵Serhiy Storchaka2012-12-291-1/+10
|\ | | | | | | fails on closing of aifc file.
| * Issue #16485: Fix file descriptor not being closed if file header patching ↵Serhiy Storchaka2012-12-291-1/+10
| | | | | | | | fails on closing of aifc file.
* | #13394: add more tests for the aifc module and use warnings.warn instead of ↵Ezio Melotti2012-03-121-9/+149
|\ \ | |/ | | | | print. Patch by Oleg Plakhotnyuk.
| * #13394: add more tests for the aifc module. Patch by Oleg Plakhotnyuk.Ezio Melotti2012-03-121-9/+154
|/
* Issue #13589: Fix some serialization primitives in the aifc module.Antoine Pitrou2012-01-171-0/+37
| | | | Patch by Oleg Plakhotnyuk.
* Issue #13594: various fixes to aifc module; patch by Oleg PlakhotnyukSandro Tosi2012-01-011-0/+23
|
* Issue #13680: add lowecase compression type to write header; patch by Oleg ↵Sandro Tosi2012-01-011-0/+11
| | | | Plakhotnyuk
* Merged revisions ↵Benjamin Peterson2009-05-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 70768,71657,71721,71729,71794,71976,72036-72037,72079,72085,72131-72134,72191,72197-72198,72219,72221,72225,72303,72434,72467,72476 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r70768 | andrew.kuchling | 2009-03-30 17:29:15 -0500 (Mon, 30 Mar 2009) | 1 line Typo fixes ........ r71657 | vinay.sajip | 2009-04-16 14:07:37 -0500 (Thu, 16 Apr 2009) | 1 line Issue #5768: Change to Unicode output logic and test case for same. ........ r71721 | benjamin.peterson | 2009-04-18 14:26:19 -0500 (Sat, 18 Apr 2009) | 1 line fix a few nits in unittest.py #5771 ........ r71729 | benjamin.peterson | 2009-04-18 16:03:10 -0500 (Sat, 18 Apr 2009) | 1 line move test to a more appropiate one ........ r71794 | vinay.sajip | 2009-04-22 07:10:47 -0500 (Wed, 22 Apr 2009) | 2 lines Issue #5170: Fixed regression caused when fixing #5768. ........ r71976 | mark.dickinson | 2009-04-26 14:54:55 -0500 (Sun, 26 Apr 2009) | 2 lines Fix typo in function name ........ r72036 | georg.brandl | 2009-04-27 12:04:23 -0500 (Mon, 27 Apr 2009) | 1 line #5848: small unittest doc patch. ........ r72037 | georg.brandl | 2009-04-27 12:09:53 -0500 (Mon, 27 Apr 2009) | 1 line #5840: dont claim we dont support TLS. ........ r72079 | r.david.murray | 2009-04-28 14:02:55 -0500 (Tue, 28 Apr 2009) | 2 lines Remove spurious 'u'. ........ r72085 | georg.brandl | 2009-04-28 16:48:35 -0500 (Tue, 28 Apr 2009) | 1 line Make the doctests in the docs pass, except for those in the turtle module. ........ r72131 | benjamin.peterson | 2009-04-29 17:43:35 -0500 (Wed, 29 Apr 2009) | 1 line fix test_shutil on ZFS #5676 ........ r72132 | georg.brandl | 2009-04-29 17:44:07 -0500 (Wed, 29 Apr 2009) | 1 line #5878: fix repr of re object. ........ r72133 | benjamin.peterson | 2009-04-29 17:44:15 -0500 (Wed, 29 Apr 2009) | 1 line make sure mode is removable while cleaning up test droppings ........ r72134 | benjamin.peterson | 2009-04-29 19:06:33 -0500 (Wed, 29 Apr 2009) | 1 line make sure to close file ........ r72191 | michael.foord | 2009-05-02 06:43:06 -0500 (Sat, 02 May 2009) | 9 lines Adds an exit parameter to unittest.main(). If False main no longer calls sys.exit. Closes issue 3379. Michael Foord ........ r72197 | benjamin.peterson | 2009-05-02 11:24:37 -0500 (Sat, 02 May 2009) | 1 line don't let sys.argv be used in the tests ........ r72198 | andrew.kuchling | 2009-05-02 12:12:15 -0500 (Sat, 02 May 2009) | 1 line Add items ........ r72219 | michael.foord | 2009-05-02 15:15:05 -0500 (Sat, 02 May 2009) | 8 lines Add addCleanup and doCleanups to unittest.TestCase. Closes issue 5679. Michael Foord ........ r72221 | benjamin.peterson | 2009-05-02 15:26:53 -0500 (Sat, 02 May 2009) | 1 line add myself ........ r72225 | michael.foord | 2009-05-02 17:43:34 -0500 (Sat, 02 May 2009) | 1 line ........ r72303 | benjamin.peterson | 2009-05-04 19:55:24 -0500 (Mon, 04 May 2009) | 1 line using sys._getframe(x), where x > 0 doesnt' work on IronPython ........ r72434 | r.david.murray | 2009-05-07 13:09:58 -0500 (Thu, 07 May 2009) | 2 lines Pre-opened test file needs to be opened in binary mode. ........ r72467 | georg.brandl | 2009-05-08 07:17:34 -0500 (Fri, 08 May 2009) | 1 line Fix name. ........ r72476 | thomas.heller | 2009-05-08 15:09:40 -0500 (Fri, 08 May 2009) | 4 lines Add a file that contains diffs between offical libffi files and the files in this repository. Should make it easier to merge new libffi versions. ........
* Merged revisions 72425-72426 via svnmerge fromR. David Murray2009-05-071-0/+15
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72425 | r.david.murray | 2009-05-07 12:27:02 -0400 (Thu, 07 May 2009) | 3 lines Issue5955: aifc's close method did not close the file it wrapped, now it does. This also means getfp method now returns the real fp. ........ r72426 | r.david.murray | 2009-05-07 12:29:19 -0400 (Thu, 07 May 2009) | 3 lines News item for Issue5955. ........
* Document the fact that 'compname' and 'comptype' are bytes.R. David Murray2009-04-291-2/+0
|
* Merged revisions 72115 via svnmerge fromR. David Murray2009-04-291-7/+53
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72115 | r.david.murray | 2009-04-29 16:15:18 -0400 (Wed, 29 Apr 2009) | 2 lines More aifc tests. ........
* Merged revisions 72100-72101 via svnmerge fromR. David Murray2009-04-291-0/+59
svn+ssh://pythondev@svn.python.org/python/trunk ........ r72100 | r.david.murray | 2009-04-29 09:17:37 -0400 (Wed, 29 Apr 2009) | 7 lines Fix issue 2245. aifc now skips any chunk type it doesn't actually process instead of throwing errors for anything not in an explicit skip list. This is per this spec: http://www.cnpbagwell.com/aiff-c.txt. Spec reference and test sound file provided by Santiago Peresón, fix based on patch by Hiroaki Kawai. ........ r72101 | r.david.murray | 2009-04-29 09:51:44 -0400 (Wed, 29 Apr 2009) | 2 lines Now that we've got a test_aifc, add a few tests. ........