Commit f9f2982f authored by Amaury Forgeot d'Arc's avatar Amaury Forgeot d'Arc

Another merge error, seen on bigendian machines

parent 7a01984a
......@@ -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')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment