Skip to content

Twisted 24.7 is deprecating twisted.internet.defer.returnValue #183

@hynek

Description

@hynek

When running a test suite under Twisted 24.7.0rc1, I get a lot of:

pytest_twisted.py:424: DeprecationWarning: twisted.internet.defer.returnValue was deprecated in Twisted 24.7.0rc1; please use standard return statement instead

Looks like it's used in two places:

defer.returnValue(result)

and

defer.returnValue(arg_value)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions