Thanks to visit codestin.com
Credit goes to github.com

Skip to content

New deprecation warning in some tests due to a new decorator in test.support #101167

Closed
@iritkatriel

Description

@iritkatriel

DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method _id of <test.test_dis.DisTests testMethod=test_binary_specialize>>)

Shows up in test_dis, test_compile and test_embed, for tests that use the new @requires_specialization which was added in #100713.

I don't know why this decorator does this while requires_limited_api doesn't.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    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