Another merge error, seen on bigendian machines

This commit is contained in:
Amaury Forgeot d'Arc 2008-06-17 21:56:01 +00:00
parent 7a01984aba
commit f9f2982fee
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ class StructTest(unittest.TestCase):
self.fail("did not raise error for float coerce")
def test_isbigendian(self):
self.assertEqual((struct.pack('=i', 1)[0] == chr(0)), ISBIGENDIAN)
self.assertEqual((struct.pack('=i', 1)[0] == 0), ISBIGENDIAN)
def test_consistence(self):
self.assertRaises(struct.error, struct.calcsize, 'Z')