]> granicus.if.org Git - python/commitdiff
Merged revisions 83966 via svnmerge from
authorEric Smith <eric@trueblade.com>
Fri, 13 Aug 2010 00:12:59 +0000 (00:12 +0000)
committerEric Smith <eric@trueblade.com>
Fri, 13 Aug 2010 00:12:59 +0000 (00:12 +0000)
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83966 | eric.smith | 2010-08-12 17:55:30 -0400 (Thu, 12 Aug 2010) | 1 line

  Remove unused test class.
........

Lib/test/test_unicode.py

index 2ed9a451af26f1455d96060957c715e2454078d9..84948868e523e8601d8fc3e2513efa57fb6e5b6a 100644 (file)
@@ -525,11 +525,6 @@ class UnicodeTest(
                     return 'G(' + self.x + ')'
                 return object.__format__(self, format_spec)
 
-        # class that returns a bad type from __format__
-        class H:
-            def __format__(self, format_spec):
-                return 1.0
-
         class I(datetime.date):
             def __format__(self, format_spec):
                 return self.strftime(format_spec)