Author: Amaury Forgeot d'Arc <amaur...@gmail.com>
Branch: py3.5
Changeset: r87296:f7828bc4b08d
Date: 2016-09-22 01:38 +0200
http://bitbucket.org/pypy/pypy/changeset/f7828bc4b08d/

Log:    Fix tests for audioop.byteswap(), and test_wave passes.

diff --git a/lib_pypy/audioop.py b/lib_pypy/audioop.py
--- a/lib_pypy/audioop.py
+++ b/lib_pypy/audioop.py
@@ -592,4 +592,5 @@
         rv[i] = cp[base]
         if base == next_bump:
             base += bump
+            next_bump += size
     return ffi.buffer(rv)[:]
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to