summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_b1.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_b1.py b/Lib/test/test_b1.py
index 903cc56..27d40da 100644
--- a/Lib/test/test_b1.py
+++ b/Lib/test/test_b1.py
@@ -181,7 +181,7 @@ def f(): pass
print 'hex'
if hex(16) != '0x10': raise TestFailed, 'hex(16)'
if hex(16L) != '0x10L': raise TestFailed, 'hex(16L)'
-if hex(-16) != '-0x10': raise TestFailed, 'hex(-16)'
+if hex(-16) != '0xfffffff0': raise TestFailed, 'hex(-16)'
if hex(-16L) != '-0x10L': raise TestFailed, 'hex(-16L)'
print 'id'