mirror of
https://github.com/python/cpython.git
synced 2025-08-09 19:38:42 +00:00
gh-99430: Remove duplicated tests for old-styled classes (#99432)
python 1 & 2 were a loong time ago.
This commit is contained in:
parent
439b9cfaf4
commit
d329f859b9
5 changed files with 6 additions and 139 deletions
|
@ -2380,12 +2380,7 @@ class UnicodeTest(string_tests.CommonTest,
|
|||
def __repr__(self):
|
||||
return '\\n'
|
||||
|
||||
class s2:
|
||||
def __repr__(self):
|
||||
return '\\n'
|
||||
|
||||
self.assertEqual(repr(s1()), '\\n')
|
||||
self.assertEqual(repr(s2()), '\\n')
|
||||
|
||||
def test_printable_repr(self):
|
||||
self.assertEqual(repr('\U00010000'), "'%c'" % (0x10000,)) # printable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue