Message152624
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). |
|
Date |
User |
Action |
Args |
2012-02-04 14:51:07 | neologix | set | recipients:
+ neologix, pitrou, vstinner, ezio.melotti, sandro.tosi, python-dev, Oleg.Plakhotnyuk |
2012-02-04 14:51:07 | neologix | set | messageid: <1328367067.53.0.294686100364.issue13806@psf.upfronthosting.co.za> |
2012-02-04 14:51:06 | neologix | link | issue13806 messages |
2012-02-04 14:51:06 | neologix | create | |
|