summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-01-14 18:52:06 (GMT)
committerGuido van Rossum <guido@python.org>2007-01-14 18:52:06 (GMT)
commit65eabe30e4f3841a32383d9e3dda76573c2b8934 (patch)
treeb440733d06e9fcdc145f1084e579d2322a430ea5
parent56be3b1cdc08197bfab409e2649d48067953da69 (diff)
downloadcpython-65eabe30e4f3841a32383d9e3dda76573c2b8934.zip
cpython-65eabe30e4f3841a32383d9e3dda76573c2b8934.tar.gz
cpython-65eabe30e4f3841a32383d9e3dda76573c2b8934.tar.bz2
One more test breakage hits the dust. The test was clearly in the wrong.
-rw-r--r--BROKEN_TESTS3
-rw-r--r--Lib/test/test_format.py2
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 <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)
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: