STINNER Victor added the comment:

> Because array.fromfile() is used only to swap 16- and 32-bit samples on 
> bigendian platform.

If the file is truncated, why would the test suceed on little endian? The file 
doesn't have the same size in bytes? The test doesn't check the number of 
frames?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19633>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to