One more test breakage hits the dust. The test was clearly in the wrong.

This commit is contained in:
Guido van Rossum 2007-01-14 18:52:06 +00:00
parent 56be3b1cdc
commit 65eabe30e4
2 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,4 @@
test_format -- '%o' % 0 works? ... no # Unexpected <type 'exceptions.TypeError'> : '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)

View File

@ -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: