From 906a5e9c685ac4125b44d25dfa85757c13246b01 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Mon, 13 Jan 1997 22:36:03 +0000 Subject: [PATCH] updated the oct(-100) test since oct() of a signed literal has changed. --- Lib/test/test_b2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_b2.py b/Lib/test/test_b2.py index 62d17b9ba5d..c46c06cc708 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'