[Python-3000-checkins] r53439 - in python/branches/p3yk: BROKEN_TESTS Lib/test/test_format.py

guido.van.rossum python-3000-checkins at python.org
Sun Jan 14 19:52:07 CET 2007


Author: guido.van.rossum
Date: Sun Jan 14 19:52:06 2007
New Revision: 53439

Modified:
   python/branches/p3yk/BROKEN_TESTS
   python/branches/p3yk/Lib/test/test_format.py
Log:
One more test breakage hits the dust.  The test was clearly in the wrong.


Modified: python/branches/p3yk/BROKEN_TESTS
==============================================================================
--- python/branches/p3yk/BROKEN_TESTS	(original)
+++ python/branches/p3yk/BROKEN_TESTS	Sun Jan 14 19:52:06 2007
@@ -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)

Modified: python/branches/p3yk/Lib/test/test_format.py
==============================================================================
--- python/branches/p3yk/Lib/test/test_format.py	(original)
+++ python/branches/p3yk/Lib/test/test_format.py	Sun Jan 14 19:52:06 2007
@@ -236,7 +236,7 @@
         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:


More information about the Python-3000-checkins mailing list