diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py index 2ed9a451af2..84948868e52 100644 --- a/Lib/test/test_unicode.py +++ b/Lib/test/test_unicode.py @@ -525,11 +525,6 @@ def __format__(self, format_spec): 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)