-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Closed
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Right now there are several problems that can be attributed to the long history of this test.
operator
name here is not needed:cpython/Lib/test/test_descr.py
Line 4604 in 396b831
exec(expr, {'x': x, 'y': y, 'operator': operator}) rname
here is not used:cpython/Lib/test/test_descr.py
Line 4629 in 396b831
rname = '__r' + name[2:] __r*__
methods are not tested. They were removed 18 years ago in 4886cc3#diff-6b813570d02ae3544e7e0233ae21d647f8e2dc47486495557e8d16c80460e85b I think that adding them back is a good thing
Linked PRs
Metadata
Metadata
Assignees
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error