updated the oct(-100) test since oct() of a signed literal has changed.

This commit is contained in:
Barry Warsaw 1997-01-13 22:36:03 +00:00
parent 64278cf5f7
commit 906a5e9c68
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ from test_support import *
print 'oct' print 'oct'
if oct(100) != '0144': raise TestFailed, 'oct(100)' if oct(100) != '0144': raise TestFailed, 'oct(100)'
if oct(100L) != '0144L': raise TestFailed, 'oct(100L)' 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)' if oct(-100L) != '-0144L': raise TestFailed, 'oct(-100L)'
print 'open' print 'open'