This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author neologix
Recipients Oleg.Plakhotnyuk, ezio.melotti, neologix, pitrou, python-dev, sandro.tosi, vstinner
Date 2012-02-04.14:51:06
SpamBayes Score 6.4121073e-09
Marked as misclassified No
Message-id <1328367067.53.0.294686100364.issue13806@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2012-02-04 14:51:07neologixsetrecipients: + neologix, pitrou, vstinner, ezio.melotti, sandro.tosi, python-dev, Oleg.Plakhotnyuk
2012-02-04 14:51:07neologixsetmessageid: <1328367067.53.0.294686100364.issue13806@psf.upfronthosting.co.za>
2012-02-04 14:51:06neologixlinkissue13806 messages
2012-02-04 14:51:06neologixcreate