Description
There are some cases inside tests when old-style classes are used together with new-style classes.
I think these cases should be removed, because there are no old-style classes anymore and we just have useless logic duplication in tests.
I've found several cases:
-
cpython/Lib/test/test_descr.py
Lines 3264 to 3265 in 57be545
-
cpython/Lib/test/test_unicode.py
Lines 2379 to 2385 in 57be545
u
prefix removal, but is very similar and should also be removed) -
cpython/Lib/test/pydocfodder.py
Lines 83 to 120 in 57be545
-
Lines 91 to 103 in 57be545
-
Lines 353 to 361 in 57be545
-
Lines 546 to 547 in 57be545
-
cpython/Lib/test/dtracedata/instance.py
Lines 3 to 6 in 57be545
I will send a PR.