Skip to content

Improve test_descr.test_not_implemented #117797

@sobolevn

Description

@sobolevn

Bug report

Right now there are several problems that can be attributed to the long history of this test.

  1. operator name here is not needed:
    exec(expr, {'x': x, 'y': y, 'operator': operator})
  2. rname here is not used:
    rname = '__r' + name[2:]
    This means that __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 dirtype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions