summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1997-01-13 22:36:03 (GMT)
committerBarry Warsaw <barry@python.org>1997-01-13 22:36:03 (GMT)
commit906a5e9c685ac4125b44d25dfa85757c13246b01 (patch)
tree5124a21de7d570e24526d222a491e87db3a86ad4 /Lib
parent64278cf5f77a7279e3b288f32c90092d16c55c2c (diff)
downloadcpython-906a5e9c685ac4125b44d25dfa85757c13246b01.zip
cpython-906a5e9c685ac4125b44d25dfa85757c13246b01.tar.gz
cpython-906a5e9c685ac4125b44d25dfa85757c13246b01.tar.bz2
updated the oct(-100) test since oct() of a signed literal has changed.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_b2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_b2.py b/Lib/test/test_b2.py
index 62d17b9..c46c06c 100644
--- a/Lib/test/test_b2.py
+++ b/Lib/test/test_b2.py
@@ -5,7 +5,7 @@ from test_support import *
print 'oct'
if oct(100) != '0144': raise TestFailed, 'oct(100)'
if oct(100L) != '0144L': raise TestFailed, 'oct(100L)'
-if oct(-100) != '-0144': raise TestFailed, 'oct(-100)'
+if oct(-100) != '037777777634': raise TestFailed, 'oct(-100)'
if oct(-100L) != '-0144L': raise TestFailed, 'oct(-100L)'
print 'open'