Commits

Amaury Forgeot d'Arc  committed 5f94353

Another merge error, seen on bigendian machines

  • Participants
  • Parent commits 70d72a7

Comments (0)

Files changed (1)

File Lib/test/test_struct.py

             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')