mirror of
https://github.com/python/cpython.git
synced 2025-11-17 01:25:57 +00:00
Remove unused test class.
This commit is contained in:
parent
3e2eab19b9
commit
994addc414
1 changed files with 0 additions and 5 deletions
|
|
@ -519,11 +519,6 @@ class UnicodeTest(string_tests.CommonTest,
|
||||||
return 'G(' + self.x + ')'
|
return 'G(' + self.x + ')'
|
||||||
return object.__format__(self, format_spec)
|
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):
|
class I(datetime.date):
|
||||||
def __format__(self, format_spec):
|
def __format__(self, format_spec):
|
||||||
return self.strftime(format_spec)
|
return self.strftime(format_spec)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue