[pypy-svn] pypy fast-forward: Skip a test that needs the audioop module

amauryfa commits-noreply at bitbucket.org
Wed Jan 5 00:17:29 CET 2011

Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: fast-forward
Changeset: r40403:747cee8bcd9e
Date: 2011-01-05 00:20 +0100

Log:	Skip a test that needs the audioop module

diff --git a/lib-python/modified-2.7.0/test/test_aifc.py b/lib-python/modified-2.7.0/test/test_aifc.py
--- a/lib-python/modified-2.7.0/test/test_aifc.py
+++ b/lib-python/modified-2.7.0/test/test_aifc.py
@@ -1,4 +1,4 @@
-from test.test_support import findfile, run_unittest, TESTFN
+from test.test_support import findfile, run_unittest, TESTFN, impl_detail
 import unittest
 import os
@@ -68,6 +68,7 @@
         self.assertEqual(f.getparams(), fout.getparams())
         self.assertEqual(f.readframes(5), fout.readframes(5))
+    @impl_detail("PyPy has no audioop module yet", pypy=False)
     def test_compress(self):
         f = self.f = aifc.open(self.sndfilepath)
         fout = self.fout = aifc.open(TESTFN, 'wb')

More information about the Pypy-commit mailing list