diff options
author | Guido van Rossum <guido@python.org> | 2007-01-14 18:52:06 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-01-14 18:52:06 (GMT) |
commit | 65eabe30e4f3841a32383d9e3dda76573c2b8934 (patch) | |
tree | b440733d06e9fcdc145f1084e579d2322a430ea5 | |
parent | 56be3b1cdc08197bfab409e2649d48067953da69 (diff) | |
download | cpython-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_TESTS | 3 | ||||
-rw-r--r-- | 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 <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: |