[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] BUG: pygame.Color bugs - 64bit. Re: beginning GSOC preparations: was Re: [pygame] Thank You
- To: pygame-users@xxxxxxxx
- Subject: [pygame] BUG: pygame.Color bugs - 64bit. Re: beginning GSOC preparations: was Re: [pygame] Thank You
- From: René Dudfield <renesd@xxxxxxxxx>
- Date: Sat, 2 May 2009 08:28:31 +1000
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Fri, 01 May 2009 18:28:33 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=90r9v+cyHBDyQBpn1i7oROVu3G7cFN7faL5pPC5TJD0=; b=Qw+lbYez/pKYTUxKCY2XvnMcbMoKhXpKIFESeQsR09AVvaVgniDQW67WFbGhSvgNQb QbXhnnJJhOMPE8llGG4EgLwySxU5b3F33sXZ6R2cAoa8N3j55uEaH+JxTfwoFE24N3Ba o7JLlZOhAzg5fCO0ca0AJzjkbSlhQzSz9YZ4A=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=eBIpWt4aN6XdSo0p18E1OY34IUlPU7QLbzxjvu2J6p3N9/5B82Jy/X10uMK7AArtBB HIafMElTRkinbp137JFrZlcEhvCWIiNHJg4jCdNCItLATAU8d5SNDczTfs1m2Thq0dS4 ho8RCw0u/oKVvm3KFNreOgVKJeWEhpF29QE5o=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
hi,
Below are the failing unittests for Color on 64bit ubuntu.
======================================================================
> FAIL: ColorTypeTest.test_float
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python2.5/site-packages/pygame/tests/color_test.py", line
> 412, in test_float
> self.assertEquals (float (c), float (0xCC00CC00))
> AssertionError: 1.844674407283719e+19 != 3422604288.0
>
> ======================================================================
> FAIL: ColorTypeTest.test_hex
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python2.5/site-packages/pygame/tests/color_test.py", line
> 442, in test_hex
> self.assertEquals (hex (c), hex (0xCC00CC00))
> AssertionError: '0xffffffffcc00cc00L' != '0xcc00cc00'
>
> ======================================================================
> FAIL: ColorTypeTest.test_int
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python2.5/site-packages/pygame/tests/color_test.py", line
> 494, in test_int
> self.assertEquals (int (c), int (0xCC00CC00))
> AssertionError: 18446744072837188608L != 3422604288
>
> ======================================================================
> FAIL: ColorTypeTest.test_long
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python2.5/site-packages/pygame/tests/color_test.py", line
> 511, in test_long
> self.assertEquals (long (c), long (0xCC00CC00))
> AssertionError: 18446744072837188608L != 3422604288L
>
> ======================================================================
> FAIL: ColorTypeTest.test_oct
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python2.5/site-packages/pygame/tests/color_test.py", line
> 427, in test_oct
> self.assertEquals (oct (c), oct (0xCC00CC00))
> AssertionError: '01777777777771400146000L' != '031400146000'
>
> ======================================================================
> FAIL: ColorTypeTest.test_webstyle
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python2.5/site-packages/pygame/tests/color_test.py", line
> 458, in test_webstyle
> self.assertEquals (hex (c), hex (0xCC00CC11))
> AssertionError: '0xffffffffcc00cc11L' != '0xcc00cc11'
>
>