From f9f2982feeee97b15fd3706122e250bfeeb97153 Mon Sep 17 00:00:00 2001 From: Amaury Forgeot d'Arc Date: Tue, 17 Jun 2008 21:56:01 +0000 Subject: Another merge error, seen on bigendian machines --- Lib/test/test_struct.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_struct.py b/Lib/test/test_struct.py index 616e665..bce8fdc 100644 --- a/Lib/test/test_struct.py +++ b/Lib/test/test_struct.py @@ -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') -- cgit v0.12