diff options
-rw-r--r-- | Lib/test/test_unicode.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py index ab6c1537c1..d7d30d2def 100644 --- a/Lib/test/test_unicode.py +++ b/Lib/test/test_unicode.py @@ -519,11 +519,6 @@ class UnicodeTest(string_tests.CommonTest, 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) |