@@ -80,9 +80,9 @@ def test_object_str(self):
8080        self .assertTypedEqual (object_str ('\U0001f40d ' ), '\U0001f40d ' )
8181        self .assertTypedEqual (object_str (StrSubclass ('abc' )), 'abc' )
8282        self .assertTypedEqual (object_str (WithStr ('abc' )), 'abc' )
83-         self .assertTypedEqual (object_str (WithStr (StrSubclass ('abc' ))), StrSubclass ( 'abc' ) )
83+         self .assertTypedEqual (object_str (WithStr (StrSubclass ('abc' ))), 'abc' )
8484        self .assertTypedEqual (object_str (WithRepr ('<abc>' )), '<abc>' )
85-         self .assertTypedEqual (object_str (WithRepr (StrSubclass ('<abc>' ))), StrSubclass ( '<abc>' ) )
85+         self .assertTypedEqual (object_str (WithRepr (StrSubclass ('<abc>' ))), '<abc>' )
8686        self .assertTypedEqual (object_str (NULL ), '<NULL>' )
8787
8888    def  test_object_repr (self ):
@@ -93,9 +93,9 @@ def test_object_repr(self):
9393        self .assertTypedEqual (object_repr ('\U0001f40d ' ), "'\U0001f40d '" )
9494        self .assertTypedEqual (object_repr (StrSubclass ('abc' )), "'abc'" )
9595        self .assertTypedEqual (object_repr (WithRepr ('<abc>' )), '<abc>' )
96-         self .assertTypedEqual (object_repr (WithRepr (StrSubclass ('<abc>' ))), StrSubclass ( '<abc>' ) )
96+         self .assertTypedEqual (object_repr (WithRepr (StrSubclass ('<abc>' ))), '<abc>' )
9797        self .assertTypedEqual (object_repr (WithRepr ('<\U0001f40d >' )), '<\U0001f40d >' )
98-         self .assertTypedEqual (object_repr (WithRepr (StrSubclass ('<\U0001f40d >' ))), StrSubclass ( '<\U0001f40d >' ) )
98+         self .assertTypedEqual (object_repr (WithRepr (StrSubclass ('<\U0001f40d >' ))), '<\U0001f40d >' )
9999        self .assertTypedEqual (object_repr (NULL ), '<NULL>' )
100100
101101    def  test_object_ascii (self ):
@@ -106,7 +106,7 @@ def test_object_ascii(self):
106106        self .assertTypedEqual (object_ascii ('\U0001f40d ' ), r"'\U0001f40d'" )
107107        self .assertTypedEqual (object_ascii (StrSubclass ('abc' )), "'abc'" )
108108        self .assertTypedEqual (object_ascii (WithRepr ('<abc>' )), '<abc>' )
109-         self .assertTypedEqual (object_ascii (WithRepr (StrSubclass ('<abc>' ))), StrSubclass ( '<abc>' ) )
109+         self .assertTypedEqual (object_ascii (WithRepr (StrSubclass ('<abc>' ))), '<abc>' )
110110        self .assertTypedEqual (object_ascii (WithRepr ('<\U0001f40d >' )), r'<\U0001f40d>' )
111111        self .assertTypedEqual (object_ascii (WithRepr (StrSubclass ('<\U0001f40d >' ))), r'<\U0001f40d>' )
112112        self .assertTypedEqual (object_ascii (NULL ), '<NULL>' )
@@ -118,7 +118,7 @@ def test_object_bytes(self):
118118        self .assertTypedEqual (object_bytes (b'abc' ), b'abc' )
119119        self .assertTypedEqual (object_bytes (BytesSubclass (b'abc' )), b'abc' )
120120        self .assertTypedEqual (object_bytes (WithBytes (b'abc' )), b'abc' )
121-         self .assertTypedEqual (object_bytes (WithBytes (BytesSubclass (b'abc' ))), BytesSubclass ( b'abc' ) )
121+         self .assertTypedEqual (object_bytes (WithBytes (BytesSubclass (b'abc' ))), b'abc' )
122122        self .assertTypedEqual (object_bytes (bytearray (b'abc' )), b'abc' )
123123        self .assertTypedEqual (object_bytes (memoryview (b'abc' )), b'abc' )
124124        self .assertTypedEqual (object_bytes ([97 , 98 , 99 ]), b'abc' )
0 commit comments