From 65eabe30e4f3841a32383d9e3dda76573c2b8934 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sun, 14 Jan 2007 18:52:06 +0000 Subject: One more test breakage hits the dust. The test was clearly in the wrong. --- BROKEN_TESTS | 3 +-- Lib/test/test_format.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/BROKEN_TESTS b/BROKEN_TESTS index b217211..a14999c 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 ace3bc9..fc8a5a1 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: -- cgit v0.12