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 2ed9a451af..84948868e5 100644 --- a/Lib/test/test_unicode.py +++ b/Lib/test/test_unicode.py @@ -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) |