diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-06-17 21:56:01 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-06-17 21:56:01 (GMT) |
commit | f9f2982feeee97b15fd3706122e250bfeeb97153 (patch) | |
tree | 41715317e499366604479db459d3ca33353fa8d5 /Lib | |
parent | 7a01984aba532b731dd6a06610b0ce523bef4f5e (diff) | |
download | cpython-f9f2982feeee97b15fd3706122e250bfeeb97153.zip cpython-f9f2982feeee97b15fd3706122e250bfeeb97153.tar.gz cpython-f9f2982feeee97b15fd3706122e250bfeeb97153.tar.bz2 |
Another merge error, seen on bigendian machines
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_struct.py | 2 |
1 files changed, 1 insertions, 1 deletions
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') |