summaryrefslogtreecommitdiff
path: root/Lib/test/test_struct.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_struct.py')
-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 616e6658d5..bce8fdcfad 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')