summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_struct.py2
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')