Charles-François Natali <[email protected]> added the comment:
This broke a sparc buildbot:
"""
======================================================================
FAIL: test_alaw2lin (test.test_audioop.TestAudioop)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home2/buildbot/slave/2.7.loewis-sun/build/Lib/test/test_audioop.py",
line 114, in test_alaw2lin
self.assertEqual(audioop.alaw2lin(d, 2), b'\x08\x00\x08\x01\x10\x02')
AssertionError: '\x00\x08\x01\x08\x02\x10' != '\x08\x00\x08\x01\x10\x02'
======================================================================
FAIL: test_ulaw2lin (test.test_audioop.TestAudioop)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home2/buildbot/slave/2.7.loewis-sun/build/Lib/test/test_audioop.py",
line 127, in test_ulaw2lin
self.assertEqual(audioop.ulaw2lin(d, 2), b'\x00\x00\x04\x01\x0c\x02')
AssertionError: '\x00\x00\x01\x04\x02\x0c' != '\x00\x00\x04\x01\x0c\x02'
"""
It's obviously an endianess issue (sparc is big endian).
----------
nosy: +neologix
status: closed -> open
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue13806>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com