[3.11] gh-99430: Remove duplicated tests for old-styled classes (GH-99432) (GH-115298)

python 1 & 2 were a loong time ago.
(cherry picked from commit d329f859b9)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
This commit is contained in:
Serhiy Storchaka 2024-02-11 16:29:23 +02:00 committed by GitHub
parent 7273a58a85
commit 75d92f5c4e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 6 additions and 139 deletions

View file

@ -2443,12 +2443,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