From: Guido van Rossum Date: Sun, 14 Jan 2007 18:52:06 +0000 (+0000) Subject: One more test breakage hits the dust. The test was clearly in the wrong. X-Git-Tag: v3.0a1~1269 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=65eabe30e4f3841a32383d9e3dda76573c2b8934;p=thirdparty%2FPython%2Fcpython.git One more test breakage hits the dust. The test was clearly in the wrong. --- diff --git a/BROKEN_TESTS b/BROKEN_TESTS index b217211755b0..a14999c9639f 100644 --- a/BROKEN_TESTS +++ b/BROKEN_TESTS @@ -1,5 +1,4 @@ -test_format -- '%o' % 0 works? ... no # Unexpected : 'expected string or Unicode object, int found' test_pickletools -- Test probably needs to be fixed test_repr -- test_numbers() fails -test_socket -- OverflowError: can't convert negative value to unsigned int +test_socket -- ntol problems, see SF patch 1635058 test_sqlite -- CheckLargeInt (sqlite3.test.types.SqliteTypeTests, sqlite3.test.types.DeclTypesTests) diff --git a/Lib/test/test_format.py b/Lib/test/test_format.py index ace3bc96a250..fc8a5a1b57ec 100644 --- a/Lib/test/test_format.py +++ b/Lib/test/test_format.py @@ -236,7 +236,7 @@ class Foobar(long): return self + 1 test_exc('%o', Foobar(), TypeError, - "expected string or Unicode object, long found") + "expected string or Unicode object, int found") if sys.maxint == 2**31-1: # crashes 2.2.1 and earlier: